Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Explorer Context Menus Pin
Roman Rodov5-Apr-04 17:26
Roman Rodov5-Apr-04 17:26 
GeneralUpdate assembly reference Pin
paulb5-Apr-04 14:39
paulb5-Apr-04 14:39 
GeneralRe: Update assembly reference Pin
Heath Stewart5-Apr-04 17:52
protectorHeath Stewart5-Apr-04 17:52 
QuestionHow to use SortedList.Item Property Pin
Member 9576655-Apr-04 14:23
Member 9576655-Apr-04 14:23 
AnswerRe: How to use SortedList.Item Property Pin
Spanky35-Apr-04 15:40
Spanky35-Apr-04 15:40 
AnswerRe: How to use SortedList.Item Property Pin
Heath Stewart5-Apr-04 17:42
protectorHeath Stewart5-Apr-04 17:42 
GeneralRe: How to use SortedList.Item Property Pin
Member 9576656-Apr-04 5:57
Member 9576656-Apr-04 5:57 
GeneralRe: How to use SortedList.Item Property Pin
Heath Stewart6-Apr-04 6:07
protectorHeath Stewart6-Apr-04 6:07 
Why are you trying to override this? If you're just using a SortedList, you just use it like the code example I gave. If you do want to extend a class, you only have to override abstract methods, and override other methods and properties as you need to. In this case, though, it's seems like you don't need to.

Besides, when you declare an indexer for a class in C#, you use the following syntax:
public object this[int index]
{
  get { return internalList[index]; }
  set { internalList[index] = value; }
}
Read the .NET Framework SDK for more information, especially since your new. Specifically, see the Visual C# Language[^] topic.

 

Microsoft MVP, Visual C#
My Articles
QuestionSuspendLayout() - Does this work? Pin
Tristan Rhodes5-Apr-04 13:56
Tristan Rhodes5-Apr-04 13:56 
AnswerRe: SuspendLayout() - Does this work? Pin
Heath Stewart5-Apr-04 17:37
protectorHeath Stewart5-Apr-04 17:37 
GeneralRe: SuspendLayout() - Does this work? Pin
Tristan Rhodes5-Apr-04 22:32
Tristan Rhodes5-Apr-04 22:32 
GeneraloleDbDataAdapter and dataSet Pin
DougW485-Apr-04 13:10
DougW485-Apr-04 13:10 
GeneralRe: oleDbDataAdapter and dataSet Pin
Heath Stewart5-Apr-04 17:29
protectorHeath Stewart5-Apr-04 17:29 
GeneralRe: oleDbDataAdapter and dataSet Pin
MeterMan5-Apr-04 23:14
MeterMan5-Apr-04 23:14 
Generalassembly's dll extension Pin
Anonymous5-Apr-04 11:09
Anonymous5-Apr-04 11:09 
GeneralRe: assembly's dll extension Pin
Dave Kreskowiak5-Apr-04 11:25
mveDave Kreskowiak5-Apr-04 11:25 
GeneralRe: assembly's dll extension Pin
Heath Stewart5-Apr-04 11:34
protectorHeath Stewart5-Apr-04 11:34 
GeneralRe: assembly's dll extension Pin
Anonymous5-Apr-04 13:16
Anonymous5-Apr-04 13:16 
GeneralRe: assembly's dll extension Pin
Heath Stewart5-Apr-04 17:18
protectorHeath Stewart5-Apr-04 17:18 
GeneralRe: assembly's dll extension Pin
CWIZO6-Apr-04 2:47
CWIZO6-Apr-04 2:47 
GeneralRe: assembly's dll extension Pin
Heath Stewart6-Apr-04 2:52
protectorHeath Stewart6-Apr-04 2:52 
QuestionCatch Windows KeyPress Events? Pin
Verdant1235-Apr-04 9:32
Verdant1235-Apr-04 9:32 
AnswerRe: Catch Windows KeyPress Events? Pin
LongRange.Shooter5-Apr-04 9:43
LongRange.Shooter5-Apr-04 9:43 
AnswerRe: Catch Windows KeyPress Events? Pin
Heath Stewart5-Apr-04 9:50
protectorHeath Stewart5-Apr-04 9:50 
GeneralRe: Catch Windows KeyPress Events? Pin
Verdant1235-Apr-04 10:27
Verdant1235-Apr-04 10:27 

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.