Asp.net programming we consider all important topic for knowledge about controls,web Services, JSON, Ajax, database, and interview related Question. In this Asp.net and sql server tutorial blog we give many examples of jquery as like How Play YouTube Video in Your Asp.net Website by URL, How to Play YouTube Videos in Asp.net by using Jquery , Jquery Change div background on mouseover in asp.net , JQuery UI Datepicker (Calendar) etc.

Wednesday, September 24, 2014

What keyword,How many keywords in C#

What keyword,How  many keywords in C#:



C# Keywords:

Keywords are reserved words predefined to the C# compiler. These keywords cannot be used as identifiers; however, if you want to use these keywords as identifiers, you may prefix the keyword with the (@, #, $, -, _ etc) character.

In C#, some identifiers have special meaning in context of code, such as get and set, these are called contextual keywords.

The following table lists the reserved keywords and contextual keywords in C#:

Reserved Keywords:

Abstract, As, Base, bool, break, byte, case, catch, Char, checked, class, const, continue, decimal,Default, delegate, do, double, else, enum, event, explicit, extern, false, finally, fixed, float, for,For each, Goto ,if, implicit, in ,in (generic modifier), int, interface, internal ,is lock, long ,namespace, new,null,object ,operator ,out,override, params, private, protected, public, read only ,ref ,return ,sbyte,sealed ,short ,sizeof , stackalloc, static ,string , struct, switch ,This ,throw ,true, try, typeof, uint, ulong, unchecked, unsafe, ushort , using ,virtual ,void, volatile ,While,


Contextual Keywords:


Add, Alias, ascending, descending, dynamic, from, get.

No comments:

Post a Comment