【问题标题】:Can you use the using keyword in a delegate in C#?你可以在 C# 的委托中使用 using 关键字吗? 【发布时间】:2015-07-30 18:10:57 【问题描述】: 你可以在委托中使用 using 关键字吗? 【问题讨论】: 为什么不呢。你试过了吗? 解释what you're trying to accomplish、what you tried,以及发生了什么。 这是一个面试题... 标签: .net c#-4.0 【解决方案1】: 您可以通过@ 使用任何保留关键字 示例: delegate void @using(); see the MSDN reference 【讨论】: