Wednesday, 12 December 2012

How to check year is leap year or not in C#.net

 // this will check the given year is leap or not.


////////////////      CODE   /////////////////////////


            MessageBox.Show(DateTime.IsLeapYear(2012).ToString());


////////////////      OUTPUT   /////////////////////////





--
/\/ir@\/  <(.'.)>

0 comments:

Post a Comment

Thanks for comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer