C#C
C#3y ago
Sven ☕

❔ The best way to create custom types?

Hey, what's the best way to implement a custom type?
E.g. I want an Id and instead of having it like this:
int id = 12345;

I want it like that:
ID id = 12345;

So I don't calculate with the ID for example because it's an ID, not some random number.
Was this page helpful?