Click here to Skip to main content
15,918,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: Find a class with its name ? Pin
Mohammad Dayyan25-Mar-09 6:39
Mohammad Dayyan25-Mar-09 6:39 
AnswerRe: Find a class with its name ? Pin
King Julien25-Mar-09 19:04
King Julien25-Mar-09 19:04 
QuestionImages Pin
DaphneS9124-Mar-09 23:03
DaphneS9124-Mar-09 23:03 
AnswerRe: Images Pin
benjymous25-Mar-09 0:55
benjymous25-Mar-09 0:55 
AnswerRe: Images Pin
Xmen Real 25-Mar-09 0:57
professional Xmen Real 25-Mar-09 0:57 
QuestionBHO PDF problem? Pin
svt gdwl24-Mar-09 23:01
svt gdwl24-Mar-09 23:01 
QuestionTwo interfaces with same function name Pin
.NET- India 24-Mar-09 22:57
.NET- India 24-Mar-09 22:57 
AnswerRe: Two interfaces with same function name Pin
Deresen25-Mar-09 0:23
Deresen25-Mar-09 0:23 
While implementing interfaces, you just state that the functions you put into your interface are accessible in the class which implements the interfaces.

So if you have this interface:
interface intf1
{
   void get(int i);
}
interface intf2
{
   void get(boolean b);
}

Your class will look like this:
class A : intf1,intf2
{
   public void get(int i)
   {
      Console.WriteLine("Number: " + i);
   }   
   public void get(boolean b)
   {
      Console.WriteLine("Bool: " + b);
   }
}

AnswerRe: Two interfaces with same function name Pin
ABitSmart25-Mar-09 0:30
ABitSmart25-Mar-09 0:30 
AnswerRe: Two interfaces with same function name Pin
DaveyM6925-Mar-09 0:41
professionalDaveyM6925-Mar-09 0:41 
GeneralRe: Two interfaces with same function name Pin
.NET- India 25-Mar-09 1:55
.NET- India 25-Mar-09 1:55 
GeneralRe: Two interfaces with same function name [modified] Pin
DaveyM6925-Mar-09 2:24
professionalDaveyM6925-Mar-09 2:24 
GeneralRe: Two interfaces with same function name Pin
.NET- India 25-Mar-09 2:35
.NET- India 25-Mar-09 2:35 
Generallazy Pin
Luc Pattyn25-Mar-09 3:13
sitebuilderLuc Pattyn25-Mar-09 3:13 
GeneralRe: Two interfaces with same function name Pin
DaveyM6925-Mar-09 3:22
professionalDaveyM6925-Mar-09 3:22 
GeneralRe: Two interfaces with same function name Pin
S. Senthil Kumar25-Mar-09 5:46
S. Senthil Kumar25-Mar-09 5:46 
GeneralRe: Two interfaces with same function name Pin
DaveyM6925-Mar-09 6:42
professionalDaveyM6925-Mar-09 6:42 
GeneralRe: Two interfaces with same function name Pin
King Julien25-Mar-09 0:48
King Julien25-Mar-09 0:48 
QuestionFill combo box from excel Pin
shantanusenin24-Mar-09 22:48
shantanusenin24-Mar-09 22:48 
QuestionDataGridView Save changes cell only after leaving the row ? Pin
unitecsoft24-Mar-09 22:30
unitecsoft24-Mar-09 22:30 
AnswerRe: DataGridView Save changes cell only after leaving the row ? Pin
Eddy Vluggen24-Mar-09 22:54
professionalEddy Vluggen24-Mar-09 22:54 
GeneralRe: DataGridView Save changes cell only after leaving the row ? Pin
unitecsoft24-Mar-09 22:59
unitecsoft24-Mar-09 22:59 
GeneralRe: DataGridView Save changes cell only after leaving the row ? Pin
Eddy Vluggen24-Mar-09 23:34
professionalEddy Vluggen24-Mar-09 23:34 
GeneralRe: DataGridView Save changes cell only after leaving the row ? Pin
unitecsoft25-Mar-09 0:52
unitecsoft25-Mar-09 0:52 
GeneralRe: DataGridView Save changes cell only after leaving the row ? Pin
Eddy Vluggen25-Mar-09 5:32
professionalEddy Vluggen25-Mar-09 5:32 

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.