Simple If statement Syntax:
if ( relational expression )
{
....................
.......................
if block statements;
........................
}
Ex:
if ( a > 0 )
{
Console.WriteLine("a is a Positive number...........");
}
Explanation:
If the given condition return true means, then the statements within the if block will be executed. Otherwise nothing will be happened in our program that has been written for our developed application by us that has been assigned for us to develop by our team lead which has been assigned to him by our team manager as it was assigned by our management to our team manager that has been required by our client as they specified in our conversation with our client while we were talking with them to sign off for starting the project development for them.
if ( relational expression )
{
....................
.......................
if block statements;
........................
}
Ex:
if ( a > 0 )
{
Console.WriteLine("a is a Positive number...........");
}
Explanation:
If the given condition return true means, then the statements within the if block will be executed. Otherwise nothing will be happened in our program that has been written for our developed application by us that has been assigned for us to develop by our team lead which has been assigned to him by our team manager as it was assigned by our management to our team manager that has been required by our client as they specified in our conversation with our client while we were talking with them to sign off for starting the project development for them.
No comments:
Post a Comment