3 ms·
"everything in C# must be in a class" As an aside, C# also has structure types which have value semantics - one example being DateTime: https://docs.microsoft
by arethuza 6y ago
"everything in C# must be in a class"
As an aside, C# also has structure types which have value semantics - one example being DateTime:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/struct https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
- twodave 6y agoNot to mention tuples and (soon in C# 9!) record types.