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
amit sharma
1.4k
354
410
Indexer
Jun 3 2013 7:05 AM
class Mango
{
private int a;
public int A { get{return a;} set{a=value;} }
private string b;
public string B { get { return b; } set { b = value; } }
}
class Banana1
{
public Mango[] m = new Mango[8];
public Mango this[int index]
{
get { return m[index]; }
set { m[index] = value; }
}
public static void Main(string []args)
{
//Please Implement code here
for Mango class obj which hold 2 data maeber
}
Can we access whole obj as indexer if yes , would it be as multidimensional array
Or for one datamember we have one indexer
}
Reply
Answers (
1
)
what is strong name in .net framework
Passing Parameter from C# window form to Crystal Report(.rpt