Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
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 
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 
You don't call an interfaces function as it provides no implementation.
In your example any instance of class A is also intf1 and intf2, but the get method used is the class instance's implementation.

If you want differering implementations, you can declare one or more of them explicitly.
void intf1.get()
{
    // Your implementation here
}


Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

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 
QuestionPaths in Crystal... Pin
Stephen Lintott24-Mar-09 21:29
Stephen Lintott24-Mar-09 21:29 
AnswerRe: Paths in Crystal... Pin
Stephen Lintott24-Mar-09 22:41
Stephen Lintott24-Mar-09 22:41 

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.