<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Gotcha: use parentheses around ternary op conditional expressions</title><link>https://www.dotnetzone.gr:443/cs/blogs/birbilis/archive/2018/08/25/gotcha-use-parentheses-around-ternary-op-conditional-expressions.aspx</link><description>Just came across the following case in C# that puzzled me momentarily, especially since the strings involved were long enough and the expression was broken on multiple lines: bool flag = true; string test1 = flag? &amp;#34;xa&amp;#34; : &amp;#34;xb&amp;#34;; string test2</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator></channel></rss>