4 ms·
The question is can you do this to sealed/final classes like String? Say you wanted a Canadian String that appended ",eh" ever time it saw a question mark, coul
by virmundi 10y ago
The question is can you do this to sealed/final classes like String? Say you wanted a Canadian String that appended ",eh" ever time it saw a question mark, could you do this? Could you make Money do the same?
- zwerdlds 10y agoYeah, AFAIK, extension methods just have to work on POCOs, which string and money (or decimal) are.