Corrected spelling of instatiate to instantiate. (#32747)
Corrected spelling of instatiate.
This commit is contained in:
committed by
The Coding Aviator
parent
7af600ab0b
commit
5810a2cf41
@ -3,7 +3,8 @@ title: Class
|
||||
---
|
||||
|
||||
## Class
|
||||
A class in C# is defined as a reference type. In order to instatiate a variable of a reference type, you must specify the `new` keyword, otherwise the variable will have the default value of `null`. See below for an example.
|
||||
|
||||
A class in C# is defined as a reference type. In order to instantiate a variable of a reference type you must specify the `new` keyword, otherwise the variable will have the default value of `null`. See below for an example.
|
||||
|
||||
```csharp
|
||||
// The value of variableOne is null at this point.
|
||||
|
Reference in New Issue
Block a user