How can I create Prototype Methods (like JavaScript) in C#.Net?

前端 未结 0 1407
被撕碎了的回忆
被撕碎了的回忆 2021-02-12 16:37

How is it possible to make prototype methods in C#.Net?

In JavaScript, I can do the following to create a trim method for the string object:

String.proto         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题