Thursday, March 1, 2012

Equivalent of final in C#

If you want to declare a variable with final option of Java or const option of C++, that case you have to use the keyword readonly.

An example is :

public readonly int max = 100;

No comments:

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...