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
Faisal Ansari
NA
451
833.6k
Can we initilize multiple arrays through one indexer OR can we initilize multiple arrays through multiple indexers in one class?
Jun 22 2011 6:17 AM
hello how r u guys
Q: Can we initlize more then one arrays through one indexer in c sharp OR can we initlize multiple arrays thourgh multiple indexers in c# ?
i am trying this code :
public class Name
{
public string[] name = new string[4];
public string this[int index]
{
get
{
return name[index];
}
set
{
name[index] = value;
}
}
public int[] intArray = new int[4];
public int this[int index]
{
get
{
return intArray[Convert.ToInt32(i)];
}
set
{
intArray[Convert.ToInt32(i)] = value;
}
}
}
Reply Soon
Thanks.
Reply
Answers (
1
)
Microsoft oledb jet 4.0 is not installed on local machine
Export datagridview data to excel