c#数组,, [英] c# arrays ,,
本文介绍了c#数组,,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要插入数组中
例如:
插入(rf123,rf234,rf456,rf789和rf147)
并根据这些值进行编码
如
rf123是块
rf234有效
rf456有效
rf789是块
rf147是块
等等,
有人可以帮我介绍最终代码吗?
我以非控制台应用程序的形式编写代码.
i want to insert in arrays
Ex :
insert (rf123 , rf234 , rf456 , rf789 and rf147 )
and make codition on these values
as
rf123 is block
rf234 is valid
rf456 is valid
rf789 is block
rf147 is block
and so on ,
can anyone help me about the final code ??
i make the code in form not console application
推荐答案
我认为这样做的方法是,将字典查找为布尔值或枚举形式的字典.
I would think that a dictionary that looks up a string to a bool or an enum is the way to do this.
好,我想知道执行该程序的步骤,请
ok , i want to know the steps to do that program , please
这篇关于c#数组,,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文