description | title | ms.date | f1_keywords | helpviewer_keywords | |||
---|---|---|---|---|---|---|---|
in - C# Reference |
in keyword |
02/06/2018 |
|
|
The in
keyword is used in the following contexts:
- generic type parameters in generic interfaces and delegates.
- As a parameter modifier, which lets you pass an argument to a method by reference rather than by value.
- foreach statements.
- from clauses in LINQ query expressions.
- join clauses in LINQ query expressions.