如何获取和设置枚举值? [英] how to get and set for the enum value?
本文介绍了如何获取和设置枚举值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为枚举值构建get和set属性
我该怎么做?
I'm trying to build get and set properties for the enum value
how can i do that?
推荐答案
您已在此处执行此操作:如何设置属性在方法中? [ ^ ]。
毕竟,你能考虑停下来问这样的非生产性问题。首先,阅读有关基本语言和.NET功能的手册和参考资料,并且只有在阅读完成后才会问问题,努力编写代码,但如果你真的丢失或困惑。
-SA
You already did it here: how to set propertise in the method?[^].
After all, could you consider stopping to ask such non-productive question. First, read the manual and reference on the basic language and .NET features, and ask the questions only you had a good reading, tried hard to write code, but if you really lost or confused.
—SA
这篇关于如何获取和设置枚举值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文