Check how many days in given month in C#.Net

//this will show how many days in given month

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

            MessageBox.Show(DateTime.DaysInMonth(2012, 4).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.