如何在C#中创建自己的扩展 [英] how to create an own extension in c#
本文介绍了如何在C#中创建自己的扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用扩展名保存自己创建的应用程序的工作表.因此,我想在c#中创建自己的扩展名.您可以为此发送代码吗?
i want to save worksheet of my own created application using an extension. Therefore i want to create an own extension in c#. Can you send code for that?
推荐答案
如果这与扩展方法有关,请阅读以下内容:http://msdn.microsoft.com/en-us/library/bb383977.aspx [
If this is about extension methods, read this: http://msdn.microsoft.com/en-us/library/bb383977.aspx[^].
If this is something else, please don''t blame me. A question should be formulated in a comprehensive manner using correct terminology, leaving no ambiguity.
—SA
希望此 [<一个href ="http://www.totaldotnet.com/Code/ShowCode9_ExtensionMethod.aspx" target ="_ blank" title ="New Window"> ^ ]可能会为您提供帮助.
Hope this[^] might help you.
这篇关于如何在C#中创建自己的扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文