Is "region" a keyword in asp.net? If yes, then what does it mean and where would one use it?
+4
A:
What do you mean keyword? ASP.NET is not a programming language.
If you're asking about C#, then no, region
isn't a keyword. #region
is something like a keyword, though.
John Saunders
2010-09-17 04:47:35
It is a preprocessor directive *(Not worth posting a separate answer as you have covered the key points.)*
ChaosPandion
2010-09-17 04:49:49
Also people should really start learning to use the tools giving to them before they hobble together a website...
ChaosPandion
2010-09-17 04:51:01
It is a *compilator* directive (C# doesn't have a preprocessor)
wRAR
2010-09-17 04:51:01
@wRAR - MSDN doesn't lie *(Well I hope so.)*. http://msdn.microsoft.com/en-us/library/ed8yd1ha.aspx
ChaosPandion
2010-09-17 04:52:02
Sorry,I am asking about #region in C#.
2010-09-17 04:53:23
@ChaosPandion: Ah, sorry :) Btw, they are called *pre-processing directives* in ECMA-334.
wRAR
2010-09-17 04:54:35
@Chaos: can you please fix that link to remove the version number?
John Saunders
2010-09-17 04:54:47
+1
A:
Region is not keyword in asp.net but#region is keyword for organize your code see the link
About #Region - ASP.NET Forums
ratty
2010-09-17 04:55:19