Updated C# and .NET docs supplement (markdown)
parent
3e680367e9
commit
a0ee189bcb
|
@ -22,6 +22,8 @@ The `GetHashCode` implementation for strings does not reflect the string's conte
|
|||

|
||||

|
||||
|
||||
Notice also the default window icon (`Form.Icon`): on Windows, it's a distinct icon; on Mono, it resembles `SystemIcon.Application` (not shown in the screenshot).
|
||||
|
||||
## Type casting
|
||||
|
||||
There are two types of casts in C#: the C-style `(T) o` throws if the object is not of the desired type, whereas `o as T` evaluates to `null` if it's not of the desired type. There's no '?' in this `null`-producing operator (this is probably only confusing if you use Kotlin).
|
||||
|
|
Loading…
Reference in New Issue