Questions tagged [statement]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
2 answers
525 views

Why do the "using" directive and "using" statement use the same keyword in C#?

The using directive gives us access to types without using their fully-qualified names: using MyNamespace.Foo.Bar; The using statement acts as syntactic sugar for try/finally blocks which ensure ...
eigenchris's user avatar
0 votes
5 answers
98 views

Is there a word that includes both statements and definitions/declarations

Wikipedia gives a few examples of statements that we all know: Return statement: return value; Assignment statement: var value = expression; Call statement: expression;, e.g. action(); If statement ...
user2180613's user avatar
  • 1,752