I tried to assign a value in aspx.cs file .
static String cnn;
cnn = "hi";
I get an error 'cnn is a field but used as a type'. I have added the code above all functions in the class.(not inside page load or any other event handler).
Why do I get this error and what is the reason ? How to fix ?