【问题标题】:Can you use the using keyword in a delegate in C#?你可以在 C# 的委托中使用 using 关键字吗?
【发布时间】:2015-07-30 18:10:57
【问题描述】:

你可以在委托中使用 using 关键字吗?

【问题讨论】:

标签: .net c#-4.0


【解决方案1】:

您可以通过@ 使用任何保留关键字

示例:

 delegate void @using();

see the MSDN reference

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-18
    • 1970-01-01
    • 2010-10-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多