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@\/ <(.'.)>
//////////////// CODE /////////////////////////
MessageBox.Show(DateTime.IsLeapYear(2012).ToString());
//////////////// OUTPUT /////////////////////////
--
/\/ir@\/ <(.'.)>
Comments
Post a Comment