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@\/  <(.'.)>

Comments

Popular posts from this blog

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.

How to create simple report in Microsoft Dynamics Navision.