Take the tour ×  I'm coming from classic ASP and I did:  myVar =
request.querystring("ID")  And in .net it is:  myVar =
Request.Querystring["ID"];  When are square brackets used over
round ones? What do they signify? I'm sort of understanding it
at the moment to represent an index?  share|improve this
question You can still use () in ASP.NET, I think. – 
BoltClock's a Unicorn Mar 16 '11 at 11:03 @Bolt that doesn't
work in .net –  Tom Gullen Mar 16 '11 at 11:03 you still could
use Request.QueryString.Get("ID") –  Alex Mar 16 '11 at 11:06
add comment  6 Answers  up vote 7 down vote accepted  Because
ASP Classic is Visual Basic Script, which derives from Visual
Basic syntax.  If you'd like to use ASP.NET with "round
brackets", just switch to VB.NET in ASP.NET's code-behind.
"Round" or "square" brackets are an arbitrary, conventional
syntax decision in VB.NET and C#.  UPDATE: I forgot to mention
ASP Classic supports JScript too, so ASP classic with JScript
would access to array indexes and, mainly indexers, with