3 ms·
> I guess I kinda wonder if I could avoid the null checks in C# somehow Without seeing your code it is hard to say, but using an object extension might work?
by jussij 13y ago
> I guess I kinda wonder if I could avoid the null checks in C# somehow
Without seeing your code it is hard to say, but using an object extension might work?
On many occasions I've used object extensions to hide checking code deep inside the extension.
C# really got that feature right.
- creatio 13y agoCan you show an example of how this can be done?