|
C# Keyword Morphology: functional categories
The term in parenthesis with each category
refers to its similarity in function to a standard English word class.
Click for category sort
| keyword |
Category |
sub |
|
context |
note |
sub? |
| statement (verb) |
branch |
method call |
any method call e.g., myMethod() |
| abstract |
modifier |
behavior |
class |
must be instantiated |
| as |
operator (adverb) |
binary |
convert |
| base |
locator (pronoun) |
encapsulation |
to base clase implementation |
variable |
| bool |
datatype (noun) |
intrinsic |
logical |
returns literal 'true' or 'false' |
| break |
statement (verb) |
branch |
| byte |
datatype (noun) |
intrinsic |
numeric |
| case |
statement (verb) |
branch conditional |
selection |
| catch |
statement (verb) |
branch conditional |
| char |
datatype (noun) |
intrinsic |
character |
a single character |
| checked |
operator (adverb) |
exp, block |
enforces arithmetic bounds checking |
enforce |
| class |
datatype (noun) |
created |
encapsulation |
second level |
| const |
modifier |
behavior |
field, |
evaluated at compile time |
| continue |
statement (verb) |
branch |
also used as branch conditional |
| continue |
statement (verb) |
branch conditional |
also used as branch unconditional |
| decimal |
datatype (noun) |
intrinsic |
numeric |
| default |
statement (verb) |
branch conditional |
exception |
| delegate |
datatype (noun) |
created |
encapsulation |
defines method signature |
| do |
statement (verb) |
branch conditional |
| double |
datatype (noun) |
intrinsic |
numeric |
| else |
statement (verb) |
branch conditional |
| enum |
datatype (noun) |
created |
encapsulation |
named enumerated constants, value |
| event |
modifier |
behavior |
field, |
only += and -= can be accessed |
| explicit |
operator (adverb) |
Mayo 89-90, use with operator |
convert |
| extern |
modifier |
behavior |
method |
indicates unmanaged |
| false |
datatype (noun) |
intrinsic |
logical |
Boolean literal |
| finally |
statement (verb) |
branch conditional |
| fixed |
modifier |
behavior |
type |
garbage collector not rmv during |
| float |
datatype (noun) |
intrinsic |
numeric |
| for |
statement (verb) |
branch conditional |
---- for |
loop |
| foreach |
statement (verb) |
branch conditional |
---- foreach |
loop; also used as operator |
| get |
statement (verb) |
accessor |
not in MS list of keywords |
| goto |
statement (verb) |
branch |
avoid else spaghetti code |
| if |
statement (verb) |
branch conditional |
---- if |
| implicit |
operator (adverb) |
Mayo 89-90, use with operator |
convert |
| in |
operator (adverb) |
foreach |
type (in) IEnumerable; also branch |
iterative |
| int |
datatype (noun) |
intrinsic |
numeric |
| interface |
datatype (noun) |
created |
encapsulation |
contract |
| internal |
modifier |
access |
member, |
assembly level control |
| is |
operator (adverb) |
true if: matches, derived, |
relational |
| lock |
modifier |
behavior |
object |
helps threads cooperate |
| long |
datatype (noun) |
intrinsic |
numeric |
| namespa |
datatype (noun) |
created |
encapsulation |
upper level |
| new |
operator (adverb) |
constructor |
as modifier hides member from base |
call |
| null |
datatype (noun) |
intrinsic |
logical |
reference-type literal |
| object |
datatype (noun) |
intrinsic |
all |
base class for all C# |
| operator |
modifier |
behavior |
method |
overload operators (also category) |
| out |
modifier |
behavior |
parameter |
must be assigned by call method |
| override |
modifier |
behavior |
method |
virtual method or interface |
| params |
modifier |
behavior |
method |
last parameter accepts multiple same |
| private |
modifier |
access |
type |
by containing only |
| protected |
modifier |
access |
type |
by containing or derived only |
| public |
modifier |
access |
type |
by all |
| readonly |
modifier |
behavior |
field |
assigned once declaration or |
| ref |
modifier |
behavior |
parameter |
passed > assigned > passed |
| return |
statement (verb) |
branch |
| sbyte |
datatype (noun) |
intrinsic |
numeric |
| sealed |
modifier |
behavior |
class |
derived from only, has no set |
| set |
statement (verb) |
accessor |
not in MS list of keywords |
| short |
datatype (noun) |
intrinsic |
numeric |
| sizeof |
operator (adverb) |
struct |
in bytes |
returns |
| stackalloc |
operator (adverb) |
stack |
pointer specified value types |
returns |
| static |
modifier |
behavior |
member |
applies to type not instance of |
| string |
datatype (noun) |
intrinsic |
character |
one or more characters |
| struct |
datatype (noun) |
created |
encapsulation |
combines data and functionality |
| switch |
statement (verb) |
branch conditional |
---- switch |
| this |
locator (pronoun) |
encapsulation |
to current instance |
variable |
| throw |
statement (verb) |
branch |
exception |
| true |
datatype (noun) |
intrinsic |
logical |
Boolean literal |
| try |
statement (verb) |
branch conditional |
---- try |
exception |
| typeof |
operator (adverb) |
type |
as System.Type |
returns |
| uint |
datatype (noun) |
intrinsic |
numeric |
| ulong |
datatype (noun) |
intrinsic |
numeric |
| unchecked |
operator (adverb) |
exp, block |
prevents arithmetic bounds checking |
enforce |
| unsafe |
modifier |
behavior |
method |
permits pointer arithmetic in block |
| ushort |
datatype (noun) |
intrinsic |
numeric |
| using |
locator (pronoun) |
encapsulation |
simplifies naming, also statement diff |
declaratio |
| using |
statement (verb) |
branch conditional |
scope; also used as locator |
| value |
locator (pronoun) |
parameter |
variable frm set; not MS, acpt Mayo |
variable |
| virtual |
modifier |
behavior |
class |
may be overriden by derived class |
| void |
modifier |
behavior |
method |
no return |
| volatile |
modifier |
behavior |
field |
may be modified by op sys or other |
| while |
statement (verb) |
branch conditional |
---- while |
loop |
this page last updated:
12/05/2004 08:44:49 PM |