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 use serial.write() in Arduino.

How to Generate random rows in dataset using c#.net

How to use Format function in Microsoft Dynamics Navision.