[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
CSharpKeyword

(C#) keyword

Keywords are the words that 'do' something. These words therefore cannot be used as variable names.

int if = 3; //ERROR!


List of keywords

  1.  ?abstract
  2.  ?as
  3.  ?base
  4. bool
  5. break
  6.  ?byte
  7. case
  8. catch
  9. char
  10.  ?checked
  11. class
  12. const
  13. continue
  14.  ?decimal
  15. default
  16.  ?delegate
  17. do
  18. double
  19. else
  20. enum
  21.  ?event
  22. explicit
  23. extern
  24. false
  25.  ?finally
  26.  ?fixed
  27. float
  28. for
  29.  ?foreach
  30. goto
  31. if
  32.  ?implicit
  33.  ?in
  34. int
  35.  ?interface
  36.  ?internal
  37.  ?is
  38.  ?lock
  39. long
  40. namespace
  41. new
  42. null
  43. object
  44. operator
  45.  ?out
  46.  ?override
  47.  ?params
  48. private
  49. protected
  50. public
  51.  ?readonly
  52.  ?ref
  53. return
  54.  ?sbyte
  55.  ?sealed
  56. short
  57. sizeof
  58.  ?stackalloc
  59. static
  60.  ?string
  61. struct
  62. switch
  63. this
  64. throw
  65. true
  66. try
  67.  ?typeof
  68.  ?uint
  69.  ?ulong
  70.  ?unchecked
  71.  ?unsafe
  72. using
  73.  ?ushort
  74. virtual
  75. void
  76. volatile
  77. while
== 'Keyword' links ==* C

last edited (April 16, 2007) by bilderbikkel, Number of views: 2932, Current Rev: 5 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.