{"id":11102,"date":"2011-11-15T10:54:10","date_gmt":"2011-11-15T10:54:10","guid":{"rendered":"https:\/\/www.techopedia.com\/definition\/comparison-operator\/"},"modified":"2011-11-15T10:56:00","modified_gmt":"2011-11-15T10:56:00","slug":"comparison-operator","status":"publish","type":"definition","link":"https:\/\/www.techopedia.com\/definition\/25590\/comparison-operator-c-sharp","title":{"rendered":"Comparison Operator"},"content":{"rendered":"

What Does Comparison Operator Mean?<\/span><\/h2>\n

In C#, a comparison operator is a binary operator that takes two operands whose values are being compared. Comparison operators are used in conditional statements, especially in loops, where the result of the comparison decides whether execution should proceed. They form the key to program flow control, known as conditional processing. <\/p>\n

Comparison operators include: <\/p>\n