Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.

Showing posts with label C# static. Show all posts
Showing posts with label C# static. Show all posts

Friday, March 28, 2008

const and static declarations

const and static declarations cannot be declared together because they are always together when marked const.
Reference: http://blogs.msdn.com/csharpfaq/archive/2004/03/12/88416.aspx