TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
r_keya
NA
9
0
Convert code from VB to C#
Nov 8 2004 1:35 PM
Convert code from VB to C# Module ABCD Public sALArr(16) As strAlways Public Structure strAlways Dim sTable As String Dim sField As String Dim sValue As String End Structure End Module ---------------------------------------------------------------------------- I have the following but it does not work: GmClass { public class sALArr { public static string []strAlways = new string[16]; } public struct strAlways { string sTable; string sField; string sValue; } }//end of class ----------------------------------------------------------------- I need to be able to do the following: string sVal = sr.ReadLine(); GmClass.sALArr.strAlways[9].sTable = sVal; PLEASE HELP ME ASAP. I AM WORKING ON A FORM AND I HAVE MADE A CLASS FOR ALL MY GLOBAL VARIABLES. SO I NEED TO DO THE ABOVE IN THE FORM AND CALL THE VARIABLES FROM THE CLASS. DON'T KNOW HOW TO DO THIS IN C#. Thankx in advance.. Keya
Reply
Answers (
1
)
binding to active directory to change password
How to reference System.Data.Sqlserver ?