# Variables This content has moved to the [`dotnet/csharpstandard`](https://github.com/dotnet/csharpstandard) repository. The list below provides links to each heading in this section. The links specify the C# 6 branch, which is version when the specifications merged. > To view the text of the Microsoft spec before merging with the ECMA text, checkout the [ms-spec-text](https://github.com/dotnet/csharplang/releases/tag/ms-spec-text) tag in this repository. - [Variables](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md) - [Variable categories](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#92-variable-categories) - [Static variables](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#922-static-variables) - [Instance variables](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#923-instance-variables) - [Instance variables in classes](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9232-instance-variables-in-classes) - [Instance variables in structs](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9233-instance-variables-in-structs) - [Array elements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#924-array-elements) - [Value parameters](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#925-value-parameters) - [Reference parameters](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#926-reference-parameters) - [Output parameters](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#927-output-parameters) - [Local variables](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#928-local-variables) - [Default values](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#93-default-values) - [Definite assignment](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94-definite-assignment) - [Initially assigned variables](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#942-initially-assigned-variables) - [Initially unassigned variables](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#943-initially-unassigned-variables) - [Precise rules for determining definite assignment](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#944-precise-rules-for-determining-definite-assignment) - [General rules for statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9442-general-rules-for-statements) - [Block statements, checked, and unchecked statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9443-block-statements-checked-and-unchecked-statements) - [Expression statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9444-expression-statements) - [Declaration statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9445-declaration-statements) - [If statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9446-if-statements) - [Switch statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9447-switch-statements) - [While statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9448-while-statements) - [Do statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#9449-do-statements) - [For statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94410-for-statements) - [Break, continue, and goto statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94411-break-continue-and-goto-statements) - [Throw statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94412-throw-statements) - [Return statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94413-return-statements) - [Try-catch statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94414-try-catch-statements) - [Try-finally statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94415-try-finally-statements) - [Try-catch-finally statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94416-try-catch-finally-statements) - [Foreach statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94417-foreach-statements) - [Using statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94418-using-statements) - [Lock statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94419-lock-statements) - [Yield statements](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94420-yield-statements) - [General rules for simple expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94422-general-rules-for-simple-expressions) - [General rules for expressions with embedded expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94423-general-rules-for-expressions-with-embedded-expressions) - [Invocation expressions and object creation expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94424-invocation-expressions-and-object-creation-expressions) - [Simple assignment expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94425-simple-assignment-expressions) - [&& (conditional AND) expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94426--expressions) - [|| (conditional OR) expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94427--expressions) - [! (logical negation) expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94428--expressions) - [?? (null coalescing) expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94429--expressions) - [?: (conditional) expressions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94430--expressions) - [Anonymous functions](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#94431-anonymous-functions) - [Variable references](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#95-variable-references) - [Atomicity of variable references](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/variables.md#96-atomicity-of-variable-references)