Post

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

By Rafaela Azevedo
This section introduces C#’s if structure, wich allows a program to make a decision based on the truth or falsity of some condition. If the condition is met (i.e., the condition is true), the statement in the body of the if structures executes. If the condition is not met (i.e., the condition is false), the body statement does not execute.

Standart algebraic equality operator or relational operator
C# equality or relational operator
Example of C# condition
Meaning of C# condition

=

==
X == y

X is equal to y

!=

X != y

X is not equal to y

>

>

X > y

X is greater than y

<

<

X =

X >= y

X is greater than or equal to y

Source: http://azevedorafaela.wordpress.com/2011/03/09/decision-making-euqality-and-relational-operators/

Category: Programming, QA, Test and Automation Stuffs

Você também pode querer ler

Comments are off for this post.