Besonderhede van voorbeeld: 1951156621219893189

Metadata

Data

English[en]
The var keyword allows you to declare a local variable (inside a method or a loop) without explicitly stating the type - instead, the C# compiler infers the type from the right part of the declaration.
Dutch[nl]
Het var sleutelwoord laat toe een lokale variabele te declareren (in een methode of een lus) zonder het type expliciet op te geven. De C# compiler leidt het type af uit het rechter deel van de declaratie.

History

Your action: