Get List of Month By c#


        public List<string> GetMonth()
        {
            List<string> oList = new List<string>();

            oList.Add("January");
            oList.Add("February");
            oList.Add("March");
            oList.Add("April");
            oList.Add("May");
            oList.Add("June");
            oList.Add("July");
            oList.Add("August");
            oList.Add("September");
            oList.Add("October");
            oList.Add("November");
            oList.Add("December");

            return oList;
        }

Comments

Popular posts from this blog

How to use DbFunctions.TruncateTime

Microsoft Access Connectivity from C#

Tool 'dotnet-ef' failed to install. dotnet core