Click here to Skip to main content
15,890,882 members
Home / Discussions / C#
   

C#

 
Questiondelete statement in trial version Pin
faladrim21-Sep-06 5:23
faladrim21-Sep-06 5:23 
AnswerRe: delete statement in trial version Pin
Judah Gabriel Himango21-Sep-06 5:49
sponsorJudah Gabriel Himango21-Sep-06 5:49 
QuestionDataGridView - check a CheckBoxCell Pin
C-Scharbe21-Sep-06 5:03
C-Scharbe21-Sep-06 5:03 
AnswerRe: DataGridView - check a CheckBoxCell Pin
Judah Gabriel Himango21-Sep-06 5:09
sponsorJudah Gabriel Himango21-Sep-06 5:09 
GeneralRe: DataGridView - check a CheckBoxCell Pin
C-Scharbe21-Sep-06 5:13
C-Scharbe21-Sep-06 5:13 
AnswerRe: DataGridView - check a CheckBoxCell Pin
C-Scharbe21-Sep-06 21:02
C-Scharbe21-Sep-06 21:02 
QuestionLoading and using an unmanaged DLL Pin
ldr_21-Sep-06 4:59
ldr_21-Sep-06 4:59 
QuestionIndexer question Pin
Andrei Ungureanu21-Sep-06 4:57
Andrei Ungureanu21-Sep-06 4:57 
Hi,
I have a small problem. I want to create 2 properties to one of my classes. All I want is to make easier for the users of my class to get some data out of my class. I want when a user writes
Test[i]
to get some data and when the user writes
Test[i][j]
to get another type of response.
I need a little help with the second type of property:
public class Test
{
  //some data

   public object this[int index]
   {
     get
     {
         //get data
     }
   }
}

This one works. My question is how to write the second one?
Thanks in advance

Do your best to be the best

AnswerRe: Indexer question Pin
Colin Angus Mackay21-Sep-06 6:05
Colin Angus Mackay21-Sep-06 6:05 
GeneralRe: Indexer question Pin
Andrei Ungureanu21-Sep-06 6:18
Andrei Ungureanu21-Sep-06 6:18 
AnswerRe: Indexer question Pin
e-laj21-Sep-06 6:08
e-laj21-Sep-06 6:08 
AnswerRe: Indexer question Pin
Insincere Dave21-Sep-06 6:24
Insincere Dave21-Sep-06 6:24 
Question"String" and "string" Pin
#realJSOP21-Sep-06 4:40
mve#realJSOP21-Sep-06 4:40 
AnswerRe: "String" and "string" Pin
S. Senthil Kumar21-Sep-06 4:55
S. Senthil Kumar21-Sep-06 4:55 
AnswerRe: "String" and "string" Pin
Judah Gabriel Himango21-Sep-06 4:57
sponsorJudah Gabriel Himango21-Sep-06 4:57 
Questionhow to lock or hide a folder? Pin
svimalraaj21-Sep-06 4:21
svimalraaj21-Sep-06 4:21 
AnswerRe: how to lock or hide a folder? Pin
Le centriste21-Sep-06 5:26
Le centriste21-Sep-06 5:26 
QuestionHow to change the color depth of a bitmap Pin
UrbanSpaceman21-Sep-06 4:07
UrbanSpaceman21-Sep-06 4:07 
QuestionHow can i use winmm.dll to adjust the master volume of Windows Pin
Kariem Soudy21-Sep-06 4:00
Kariem Soudy21-Sep-06 4:00 
AnswerRe: How can i use winmm.dll to adjust the master volume of Windows Pin
Judah Gabriel Himango21-Sep-06 5:06
sponsorJudah Gabriel Himango21-Sep-06 5:06 
QuestionHelp with updating/replacing a Bitmap in a Resource Pin
gold.mine21-Sep-06 3:55
gold.mine21-Sep-06 3:55 
QuestionCan I rename the ProcessName of a program Pin
Cybercockroach21-Sep-06 3:42
Cybercockroach21-Sep-06 3:42 
AnswerRe: Can I rename the ProcessName of a program Pin
Ed.Poore21-Sep-06 4:11
Ed.Poore21-Sep-06 4:11 
AnswerRe: Can I rename the ProcessName of a program Pin
Judah Gabriel Himango21-Sep-06 5:04
sponsorJudah Gabriel Himango21-Sep-06 5:04 
GeneralRe: Can I rename the ProcessName of a program Pin
Cybercockroach22-Sep-06 5:03
Cybercockroach22-Sep-06 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.