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 get column value from the selected row in data grid in wpf c#.net

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

How to use Format function in Microsoft Dynamics Navision.