Rajesh Kamalakshan
Wednesday, May 5, 2010
Have you used a condition like below in c#?
Response.Write(2 > 3);
This above code will print false.
This staement can be further modified for function to return a boolen depending on the calculated values like below
public bool CheckValues(int values1 ,int valuse2) { return values1 > valuse2; }
The above function will also return return false if called like below.
Response.Write(CheckValues(2,3)); );
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment