如何将以下代码转换成c#
以下代码如何转成c#
sub Application_OnStart(Sender As Object,e As EventArgs)
dim user(20) as string
application("user")=user
....
end sub
sub reg_Click(Sender As object,e as EventArgs)
....
dim tname as string
....
for i=0 to num-1
tname=Application("user")(i)
....
next
....
end sub