tag:blogger.com,1999:blog-6497434045878013201.post6299384957663731158..comments2023-12-06T18:45:51.800-08:00Comments on Dot Net Tips & Tricks , C# (C Sharp)Tips & Tricks: How to use Reserved Words in .NET (C#)Unknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6497434045878013201.post-41979109909538390292014-02-11T20:06:56.537-08:002014-02-11T20:06:56.537-08:00I would fire you! There are legitimate reasons, on...I would fire you! There are legitimate reasons, one of which would be using keywords in an enum and testing against the enum for membership with text.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6497434045878013201.post-3022393087071030182010-02-07T22:17:54.847-08:002010-02-07T22:17:54.847-08:00although normally unusual, this solution is great ...although normally unusual, this solution is great for parsing xml with elements or attributes using reserved words. In example: you have a restriction defined in a xsd file saying "true" and "false". Now, how would you generate a class to serialize/deserialize that without having the @ option?<br /><br />www.hjgode.de/wpJosefhttps://www.blogger.com/profile/10270573828737920216noreply@blogger.comtag:blogger.com,1999:blog-6497434045878013201.post-49343830399658869192009-06-16T08:22:29.306-07:002009-06-16T08:22:29.306-07:00Easy, IDisposable! What about this use case?Easy, IDisposable! What about <a href="http://forums.asp.net/p/1375544/2890861.aspx" rel="nofollow">this</a> use case?Derekhttps://www.blogger.com/profile/16079728680461007983noreply@blogger.comtag:blogger.com,1999:blog-6497434045878013201.post-57139657633015643212009-03-10T12:43:00.000-07:002009-03-10T12:43:00.000-07:00I would fire IMMEDIATELY anyone who abused their f...I would fire IMMEDIATELY anyone who abused their fellow developers by doing that. Horrid, HORRID idea.IDisposablehttps://www.blogger.com/profile/02275315449689041289noreply@blogger.com