NameVariants.md
December 16, 2022 ยท View on GitHub
You can acquire the name of the symbol in a few ways. Following table shows the differences between them.
| Symbol | Name | BareName | FullName |
|---|---|---|---|
| Type | |||
| int | int | int | System.Int32 |
| int? | int? | int | System.Int32? |
| int[] | int[] | int | System.Int32[] |
| List<int>? | List<int>? | List | System.Collections.Generic.List<System.Int32> |
| string | string | String | System.String |
| Method | |||
| void Foo1(int par) | Foo1 | Foo1 | void Foo1(int par) |
| void Foo2<T>() | Foo2<T> | Foo2 | void Foo2<T>() |
| Class | |||
| class GenericClass<T> | GenericClass<T> | GenericClass | GenericClass<T> |