Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reseting Object Arrays With New Length Pin
leppie5-Nov-05 18:53
leppie5-Nov-05 18:53 
GeneralRe: Reseting Object Arrays With New Length Pin
budidharma5-Nov-05 19:09
budidharma5-Nov-05 19:09 
AnswerRe: Reseting Object Arrays With New Length Pin
S. Senthil Kumar6-Nov-05 19:57
S. Senthil Kumar6-Nov-05 19:57 
QuestionRe: Reseting Object Arrays With New Length Pin
Jon Rista8-Nov-05 7:19
Jon Rista8-Nov-05 7:19 
Questionget serial number of cd in c# ? Pin
hdv2125-Nov-05 13:53
hdv2125-Nov-05 13:53 
Questioncontext menu on service notifyicon Pin
g00fyman5-Nov-05 13:09
g00fyman5-Nov-05 13:09 
QuestionOverloading Index Operator Pin
budidharma5-Nov-05 12:05
budidharma5-Nov-05 12:05 
AnswerRe: Overloading Index Operator Pin
Heath Stewart5-Nov-05 12:39
protectorHeath Stewart5-Nov-05 12:39 
Yes you can, using this as a property name and optionally using the IndexerNameAttribute to get it a name (for some languages like VB.NET have to refer to the indexer while C# doesn't) other than "Item":
public class Hand
{
  // ...
  [System.Runtime.CompilerServices.IndexerName("Card")] // Optional
  public Card this[int index]
  {
    get { return m_Hand[index]; }
  }
  // ...
}


This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
QuestiondataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 11:22
dataminers5-Nov-05 11:22 
AnswerRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 12:42
protectorHeath Stewart5-Nov-05 12:42 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 12:50
dataminers5-Nov-05 12:50 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 12:53
protectorHeath Stewart5-Nov-05 12:53 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 13:03
dataminers5-Nov-05 13:03 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 13:42
protectorHeath Stewart5-Nov-05 13:42 
QuestionLDAP User management Pin
WillemM5-Nov-05 9:18
WillemM5-Nov-05 9:18 
QuestionC# and .NET Framework Pin
Yevgeny Efter5-Nov-05 9:11
Yevgeny Efter5-Nov-05 9:11 
AnswerRe: C# and .NET Framework Pin
André Ziegler5-Nov-05 9:13
André Ziegler5-Nov-05 9:13 
AnswerRe: C# and .NET Framework Pin
Heath Stewart5-Nov-05 12:36
protectorHeath Stewart5-Nov-05 12:36 
Questionmaking the mouse perform a Drag-Drop with api Pin
jtmtv185-Nov-05 8:25
jtmtv185-Nov-05 8:25 
QuestionSingle Method With Mutiple Paremeters Pin
budidharma5-Nov-05 7:53
budidharma5-Nov-05 7:53 
AnswerRe: Single Method With Mutiple Paremeters Pin
[Marc]5-Nov-05 8:02
[Marc]5-Nov-05 8:02 
GeneralRe: Single Method With Mutiple Paremeters Pin
budidharma5-Nov-05 8:39
budidharma5-Nov-05 8:39 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC5-Nov-05 10:12
J4amieC5-Nov-05 10:12 
GeneralRe: Single Method With Mutiple Paremeters Pin
leppie5-Nov-05 18:57
leppie5-Nov-05 18:57 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC6-Nov-05 0:25
J4amieC6-Nov-05 0:25 

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.