Click here to Skip to main content
15,886,724 members
Home / Discussions / C#
   

C#

 
GeneralInterfaces Pin
Nick Parker27-Sep-02 7:46
protectorNick Parker27-Sep-02 7:46 
GeneralRe: Interfaces Pin
Paul Riley27-Sep-02 7:59
Paul Riley27-Sep-02 7:59 
GeneralRe: Interfaces Pin
Nick Parker27-Sep-02 8:15
protectorNick Parker27-Sep-02 8:15 
GeneralRe: Interfaces Pin
Paul Riley27-Sep-02 8:26
Paul Riley27-Sep-02 8:26 
GeneralRe: Interfaces Pin
Nick Parker27-Sep-02 8:42
protectorNick Parker27-Sep-02 8:42 
GeneralRe: Interfaces Pin
Nick Parker27-Sep-02 8:52
protectorNick Parker27-Sep-02 8:52 
GeneralRe: Interfaces Pin
Paul Riley27-Sep-02 10:16
Paul Riley27-Sep-02 10:16 
GeneralRe: Interfaces Pin
afronaut27-Sep-02 11:07
afronaut27-Sep-02 11:07 
I'm using interfaces on a project right now in a very practical way. I have a database that has 80 some odd tables in it tracking all kinds of entities that are used in reporting.

I have an interface:
public interface ISummarizable{
XmlDocument getSummaryXML();
DataSet getSummaryDataSet();
//... other methods
}

It allows me to write methods like this:

public void printSummary(ISummarizable it){
XmlDocument doc = it.getSummaryXML();
//... print doc
}

But I can apply that to any items in the database - customers, loans, collections, stores...



*->>Always working on my game, teach me
*->>something new.
cout << "dav1d\n";
GeneralRe: Interfaces Pin
Paul Riley27-Sep-02 13:03
Paul Riley27-Sep-02 13:03 
GeneralRe: Interfaces Pin
leppie27-Sep-02 13:43
leppie27-Sep-02 13:43 
GeneralRe: Interfaces Pin
Paul Riley27-Sep-02 14:16
Paul Riley27-Sep-02 14:16 
GeneralRe: Interfaces Pin
afronaut1-Oct-02 10:35
afronaut1-Oct-02 10:35 
GeneralClass Builder Wizard Pin
afronaut27-Sep-02 5:54
afronaut27-Sep-02 5:54 
GeneralRe: Class Builder Wizard Pin
leppie27-Sep-02 6:51
leppie27-Sep-02 6:51 
GeneralRe: Class Builder Wizard Pin
afronaut27-Sep-02 11:08
afronaut27-Sep-02 11:08 
Questionwhy I cann't cast the object???? Pin
fftongzhi27-Sep-02 0:23
fftongzhi27-Sep-02 0:23 
AnswerRe: why I cann't cast the object???? Pin
leppie27-Sep-02 2:34
leppie27-Sep-02 2:34 
GeneralRe: why I cann't cast the object???? Pin
fftongzhi27-Sep-02 16:02
fftongzhi27-Sep-02 16:02 
GeneralRe: why I cann't cast the object???? Pin
leppie27-Sep-02 16:21
leppie27-Sep-02 16:21 
GeneralRe: why I cann't cast the object???? Pin
fftongzhi27-Sep-02 16:36
fftongzhi27-Sep-02 16:36 
AnswerRe: why I cann't cast the object???? Pin
Eric Gunnerson (msft)27-Sep-02 8:43
Eric Gunnerson (msft)27-Sep-02 8:43 
GeneralRe: why I cann't cast the object???? Pin
fftongzhi27-Sep-02 16:21
fftongzhi27-Sep-02 16:21 
GeneralRe: why I cann't cast the object???? Pin
fftongzhi27-Sep-02 20:30
fftongzhi27-Sep-02 20:30 
GeneralADO.NET with C# Pin
Rickard Andersson2027-Sep-02 0:20
Rickard Andersson2027-Sep-02 0:20 
GeneralRe: ADO.NET with C# Pin
leppie27-Sep-02 2:38
leppie27-Sep-02 2:38 

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.