Try my app Expense Manager @ google play and amazon store.

Sunday, July 1, 2012

const and readonly in C# .NET


What is the difference between const and readonly in C#.NET?


The read only can be modified by the class it is contained in. However, the const cannot be modified. It needs to be instantiated only at the compile time.

1 comment:

  1. In case you are looking into making money from your websites/blogs via popup advertisments, you can embed one of the highest paying networks: Propeller Ads.

    ReplyDelete

Follow by Email

Google+ Badge