Re: C# language wish list
- From: Marc Gravell <marc.gravell@xxxxxxxxx>
- Date: Tue, 26 Aug 2008 14:23:34 -0700 (PDT)
The first is discussed regularly - a "nameof" or "infoof" operator. I
agree with the usefulness in particular of the simple "nameof", but we
shall have to see if anything ever materialises. However, note that
with .NET 3.5 you can create a method to do this using Expression and
lambda
http://groups.google.co.uk/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/f44dc57a9dc5168d/4805324df6b30218
http://groups.google.co.uk/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/e7b0f0539f85745e/ddf914f92ef43047
I'll let you decide if it is worth it or not...
Marc
.
- Prev by Date: Detecting presence of scrollbars in a ListView
- Next by Date: Re: Windows Forms - Opening forms within forms
- Previous by thread: Re: C# language wish list
- Next by thread: Re: C# language wish list
- Index(es):