Uncommon C#.NET Keywords

Comments

I wouldn't call these obscure as much as "special". There are really special cases for stackalloc and volatile but it doesn't make them weird. Stackalloc is for when dealing with unsafe code and need the memory management and for volatile most people choose to use lock instead.

Yield is a very popular 2.0 feature the reason most people don't use it is because they don't use IEnumerable
Wes Dyers talked on his blog about how Linq object queries work in a particular post here. He uses the yeild when demonstrating the Lazy loading part of C# queries as opposed to the forced evaluation (i.e. projections on queries).
don't forget the default keyword.
[this is good]
I think most obscure C# keywords are
__makeref
__reftype
__refvalue
__arglist

;)
[this is good]
What about 'fixed' and 'checked' keywords? ;)
[this is good]
useful site for c#.net
Do you want to learn PHP/.NEt/JAVA/ERP/SAP/...... ???


Download EBooks Freely in .pdf,.chm formats and ready for interview questions....

http://hotsoftwareslist.blogspot.com/2007/08/download-ebook.html

Do you want to Learn Sharepoint ???

Learn Share Point freely

http://hotsoftwareslist.blogspot.com/2007/10/learn-sharepoint-freely.html

[this is good]
Last week i started to learn c#.
Ston poutso mas re file, ti mas to les
Gia thn akriveia, ston poutso mas louloudia kai gyrw gyrw melisses

Post a comment

Already a Vox member? Sign in

Thomas Holloway

About Me

Thomas Holloway
United States
worry less, do more
Messaging:
Send

My Groups

Neighborhood

Explore friends, family, friends & family, or entire neighborhood.

Archives