Casts — RexDac Academy

RexDac AcademyTechnical notes · Some prior knowledge helps
0%Published notes read · this device

Level 4 — Classes

Casts

Original notes by SunDiaL · View English source

Casts are methods used to convert from one type to another. Again, haven't written that many casts myself, so here's the official docs. https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/types/casting-and-type-conversions

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/user-defined-conversion-operators