tag:blogger.com,1999:blog-2791921813858302066.post3841383677862791627..comments2024-03-28T10:54:51.726+00:00Comments on British Developer: Get all month names from DateTime in C# programaticallyColin Farrhttp://www.blogger.com/profile/10354777018984660024noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-2791921813858302066.post-718323486519890942021-09-25T18:27:44.721+01:002021-09-25T18:27:44.721+01:00Excellent read, Positive site, where did u come up...Excellent read, Positive site, where did u come up with the information on this posting? I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work,If anyone interested similar one's have a look here thanks.<br /><br /><a href="https://www.Perezshihtzu.com/" rel="nofollow">shih tzu puppies for sale near me</a><br /><a href="https://www.Perezshihtzu.com/" rel="nofollow">buy puppy online</a><br /><a href="https://fuhrerscheinindeutschlandkaufen.com" rel="nofollow">fuhrerschein-kaufen-schweiz</a><br />goldretrieversfarmhttps://www.blogger.com/profile/06630558074546652138noreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-24728555469162244242021-04-29T08:43:04.537+01:002021-04-29T08:43:04.537+01:00Latest sports news headlines from India and world....Latest sports news headlines from India and world. Check out today's most recent & up-to-date news coverage, videos & photos at thesportsrumour.com <a href="https://www.kuchijewels.com/product-category/kuchi-tribal-jewellery/bracelets/" rel="nofollow">wedding bands canada</a> , <a href="https://www.kuchijewels.com/product-category/kuchi-tribal-jewellery/bracelets/" rel="nofollow">wedding bands australia</a>Darren Demershttps://www.blogger.com/profile/08050776248828465230noreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-61466837931355238862020-12-01T05:16:05.650+00:002020-12-01T05:16:05.650+00:00its not good
its not good<br />Umesh Aggarwalhttps://www.blogger.com/profile/09700646121180107955noreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-53073625625917605642019-08-08T12:30:04.231+01:002019-08-08T12:30:04.231+01:00thanks man
thanks man<br />Wende BUZZhttps://www.blogger.com/profile/05198811543953468164noreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-84349817225867878222012-03-09T12:04:10.936+00:002012-03-09T12:04:10.936+00:00thank you so much!thank you so much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-35525077989803260352011-09-07T19:50:03.002+01:002011-09-07T19:50:03.002+01:00Thank you sir. I used this for Web Form just fine!...Thank you sir. I used this for Web Form just fine!gnosyshttp://twitter.com/gnosysnoreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-49022770000394331282010-11-18T17:18:38.302+00:002010-11-18T17:18:38.302+00:00Assuming the users' culture isn't already ...Assuming the users' culture isn't already French you could force it by replacing CurrentInfo with GetInstance(new CultureInfo("FR-fr")). So the first bit of code would be:<br /><br />public IEnumerable<KeyValuePair<int, string>> GetAllMonths()<br />{<br /> for (int i = 1; i <= 12; i++)<br /> {<br /> yield return new KeyValuePair<int, string>(i, DateTimeFormatInfo.GetInstance(new CultureInfo("FR-fr")).GetMonthName(i));<br /> }<br />}Colin Farrhttps://www.blogger.com/profile/10354777018984660024noreply@blogger.comtag:blogger.com,1999:blog-2791921813858302066.post-58898165284220263202010-11-18T14:45:06.073+00:002010-11-18T14:45:06.073+00:00OH YEAH !
Thanks man ! I've been looking for ...OH YEAH ! <br />Thanks man ! I've been looking for this :) <br />i had to add "using System.Globalization;"<br />at the beginning of the class...<br />( I'm not in ASP, only in c# though)<br /><br />- Any chance the same method could return the month names in french ? :)Niceplacehttps://www.blogger.com/profile/14874042816220948860noreply@blogger.com