Const vs. readonly vs. static readonly in C# .NET
This article by Rinat Abdullin clarifies const vs. readonly vs. static readonly in C# .NET . And as the author says: A class that has only constant or readonly instance fields is considered to be prepared for the concurrency challenges of parallel computing, since it has no mutable state.
Διαβάστε περισσότερα »
Σχόλια:
Έχει απενεργοποιηθεί η προσθήκη σχολίων από ανώνυμα μέλη
About Μπιρμπίλης Γεώργιος
Microsoft MVP J# 2004-2010
Borland Spirit of Delphi 2001
http://zoomicon.com