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

前端 未结 0 1037
清歌不尽
清歌不尽 2021-02-12 16:23

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         


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