Reputation: 825
I am just curious if there is a way of adding a method to the system type i.e.
char.IsNull(value)
i know a similar thing can be achieved by using an extension method but to call that i have to put 'M'.IsNull()
Upvotes: 4
Views: 64
Reputation: 1062895
No, basically; there is an ongoing discussion (titled "extension everything") on the topic of whether to add such a feature, but right now (including the current C# 8 previews): no.
Upvotes: 6