Just curious..
I'm only starting out, i.e. I've just been trying to make a Hashtable, add some items, and print them out. I decided to use C# as everyone was harping on about it.
I did classic ASP (vbscript) before this, and found that I could use just about any case I like with that. However in the below snippet - C# needs 'New' to be in lower, 'If' to be in lower, and no 'T' in 'HashTable'.
So that was an annoying half hour!
Does the same happen if I were using Vb? i.e. is it more 'forgiving'..
I'm only starting out, i.e. I've just been trying to make a Hashtable, add some items, and print them out. I decided to use C# as everyone was harping on about it.
I did classic ASP (vbscript) before this, and found that I could use just about any case I like with that. However in the below snippet - C# needs 'New' to be in lower, 'If' to be in lower, and no 'T' in 'HashTable'.
Code:
if (Page.IsPostBack == true)
{
Hashtable myHash = new Hashtable();
}
So that was an annoying half hour!
Does the same happen if I were using Vb? i.e. is it more 'forgiving'..