Click here to Skip to main content
15,902,276 members
Home / Discussions / C#
   

C#

 
QuestionHow to add data from multiple table to datagrid in C# Pin
aashish.saalvi9-Apr-09 18:01
aashish.saalvi9-Apr-09 18:01 
AnswerRe: How to add data from multiple table to datagrid in C# Pin
jaypatel5129-Apr-09 20:09
jaypatel5129-Apr-09 20:09 
QuestionTabIndex Order problem Pin
soulidentities9-Apr-09 17:14
soulidentities9-Apr-09 17:14 
AnswerRe: TabIndex Order problem Pin
Henry Minute10-Apr-09 1:25
Henry Minute10-Apr-09 1:25 
QuestionHow can I make listBox in WPF set to a default index? Pin
FrankeyJames9-Apr-09 12:41
FrankeyJames9-Apr-09 12:41 
AnswerRe: How can I make listBox in WPF set to a default index? Pin
FrankeyJames10-Apr-09 8:14
FrankeyJames10-Apr-09 8:14 
GeneralRe: How can I make listBox in WPF set to a default index? Pin
FrankeyJames12-Apr-09 16:02
FrankeyJames12-Apr-09 16:02 
QuestionIDictionary on Abstract Class Pin
Jammer9-Apr-09 10:25
Jammer9-Apr-09 10:25 
Hi All,

I've got this on an abstract class:

public abstract IDictionary<string,MatchKey> MatchKeys { get; set; }


As I want consumers to be able to specify the type of Dictionary collection (that implements IDictionary<>) in the sub-class. When I inherit from this abstract class with this:

private Dictionary<string, MatchKey> _matchKeys = new Dictionary<string, MatchKey>();
public override Dictionary<string, MatchKey> MatchKeys
{
    get { return _matchKeys; }
    set { _matchKeys = value; }
}


I get a compile error "type must be IDictionary to match overridden member". Am trying to do something ridiculous here? Seems to make sense but it's obviously not correct.

Cheers,


AnswerRe: IDictionary on Abstract Class Pin
DaveyM699-Apr-09 11:07
professionalDaveyM699-Apr-09 11:07 
GeneralRe: IDictionary on Abstract Class Pin
Jammer9-Apr-09 11:09
Jammer9-Apr-09 11:09 
GeneralRe: IDictionary on Abstract Class Pin
harold aptroot9-Apr-09 11:32
harold aptroot9-Apr-09 11:32 
GeneralRe: IDictionary on Abstract Class Pin
Jammer9-Apr-09 12:20
Jammer9-Apr-09 12:20 
GeneralRe: IDictionary on Abstract Class Pin
harold aptroot9-Apr-09 12:49
harold aptroot9-Apr-09 12:49 
GeneralRe: IDictionary on Abstract Class Pin
Jammer9-Apr-09 12:55
Jammer9-Apr-09 12:55 
GeneralRe: IDictionary on Abstract Class Pin
S. Senthil Kumar11-Apr-09 4:01
S. Senthil Kumar11-Apr-09 4:01 
QuestionOne pixel alignment differences between designer and run time form Pin
Dan Neely9-Apr-09 9:41
Dan Neely9-Apr-09 9:41 
AnswerRe: One pixel alignment differences between designer and run time form Pin
Henry Minute10-Apr-09 1:31
Henry Minute10-Apr-09 1:31 
GeneralRe: One pixel alignment differences between designer and run time form Pin
Dan Neely10-Apr-09 2:55
Dan Neely10-Apr-09 2:55 
GeneralRe: One pixel alignment differences between designer and run time form Pin
Dan Neely10-Apr-09 11:07
Dan Neely10-Apr-09 11:07 
QuestionHL7 Pin
M.Ambigai9-Apr-09 8:52
M.Ambigai9-Apr-09 8:52 
AnswerRe: HL7 Pin
Christian Graus9-Apr-09 9:23
protectorChristian Graus9-Apr-09 9:23 
QuestionPC to PC call Pin
yogesh_softworld1239-Apr-09 8:34
yogesh_softworld1239-Apr-09 8:34 
AnswerRe: PC to PC call Pin
Thomas Stockwell9-Apr-09 8:47
professionalThomas Stockwell9-Apr-09 8:47 
GeneralRe: PC to PC call Pin
led mike9-Apr-09 8:50
led mike9-Apr-09 8:50 
AnswerRe: PC to PC call Pin
led mike9-Apr-09 8:48
led mike9-Apr-09 8:48 

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.