Click here to Skip to main content
15,925,661 members
Home / Discussions / C#
   

C#

 
GeneralRe: Excel 2003 XML Format and Images Pin
GibbleCH25-Nov-08 15:11
GibbleCH25-Nov-08 15:11 
QuestionAbout Interfaces Pin
mdkarimulla25-Nov-08 3:24
mdkarimulla25-Nov-08 3:24 
AnswerRe: About Interfaces Pin
PIEBALDconsult25-Nov-08 3:27
mvePIEBALDconsult25-Nov-08 3:27 
GeneralRe: About Interfaces Pin
mdkarimulla25-Nov-08 3:35
mdkarimulla25-Nov-08 3:35 
GeneralRe: About Interfaces Pin
HosamAly25-Nov-08 3:44
HosamAly25-Nov-08 3:44 
GeneralRe: About Interfaces Pin
Mbah Dhaim25-Nov-08 4:33
Mbah Dhaim25-Nov-08 4:33 
GeneralRe: About Interfaces Pin
PIEBALDconsult25-Nov-08 6:37
mvePIEBALDconsult25-Nov-08 6:37 
AnswerRe: About Interfaces Pin
dan!sh 25-Nov-08 3:57
professional dan!sh 25-Nov-08 3:57 
I dont think you should keep a single class specific methods in the interface. If you do so, then whole purpose of creating interface is lost IMHO. In case you really want to have something like this, then you can go for Abstract class but it will then not allow you to inherit any other class. The abstract class might look like this:

abstract class SomeClass {

abstract public void CommonMethod();
public void Class1_Method(){
// implementation here
}

public void Class2_Method(){
// implementation here
}
}


But then also the purpose of having an abstract class goes in vain IMHO.

Loading signature. Please wait...

AnswerRe: About Interfaces Pin
Thomas Weller25-Nov-08 3:59
Thomas Weller25-Nov-08 3:59 
AnswerRe: About Interfaces Pin
Ben Fair25-Nov-08 4:27
Ben Fair25-Nov-08 4:27 
QuestionCould the GC collect a static variable? Pin
HosamAly25-Nov-08 3:15
HosamAly25-Nov-08 3:15 
AnswerRe: Could the GC collect a static variable? Pin
N a v a n e e t h25-Nov-08 3:22
N a v a n e e t h25-Nov-08 3:22 
GeneralRe: Could the GC collect a static variable? Pin
HosamAly25-Nov-08 3:23
HosamAly25-Nov-08 3:23 
QuestionRe: Could the GC collect a static variable? Pin
HosamAly25-Nov-08 3:40
HosamAly25-Nov-08 3:40 
AnswerRe: Could the GC collect a static variable? Pin
Simon P Stevens25-Nov-08 4:10
Simon P Stevens25-Nov-08 4:10 
GeneralRe: Could the GC collect a static variable? Pin
HosamAly25-Nov-08 20:15
HosamAly25-Nov-08 20:15 
GeneralRe: Could the GC collect a static variable? Pin
Simon P Stevens25-Nov-08 22:30
Simon P Stevens25-Nov-08 22:30 
GeneralRe: Could the GC collect a static variable? Pin
HosamAly28-Nov-08 21:56
HosamAly28-Nov-08 21:56 
QuestionWebRequest.RequestUri Pin
Thekaninos25-Nov-08 2:39
Thekaninos25-Nov-08 2:39 
AnswerRe: WebRequest.RequestUri Pin
Ravi Bhavnani25-Nov-08 2:47
professionalRavi Bhavnani25-Nov-08 2:47 
AnswerRe: WebRequest.RequestUri Pin
Giorgi Dalakishvili25-Nov-08 2:48
mentorGiorgi Dalakishvili25-Nov-08 2:48 
AnswerRe: WebRequest.RequestUri Pin
Pr@teek B@h!25-Nov-08 3:21
Pr@teek B@h!25-Nov-08 3:21 
AnswerRe: WebRequest.RequestUri Pin
Thekaninos25-Nov-08 3:30
Thekaninos25-Nov-08 3:30 
Questionhow can i copy a file to somewhere in my hard disk? Pin
maifs25-Nov-08 2:19
maifs25-Nov-08 2:19 
AnswerRe: how can i copy a file to somewhere in my hard disk? Pin
Simon P Stevens25-Nov-08 2:25
Simon P Stevens25-Nov-08 2: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.