我有一个C#enum类型,最终有很长的限定名.例如
DataSet1.ContactLogTypeValues.ReminderToFollowupOverdueInvoice.
Run Code Online (Sandbox Code Playgroud)
为了便于阅读,如果我能告诉某个特定的函数只使用名称的最后一部分,那会很好...
{
using DataSet1.ContactLogTypeValues;
...
logtype = ReminderToFollowupOverdueInvoice;
...
}
Run Code Online (Sandbox Code Playgroud)
是否有可能在C#中做这样的事情?