Click here to Skip to main content
15,910,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Structs or Classes Pin
Tim Smith1-Oct-05 16:35
Tim Smith1-Oct-05 16:35 
GeneralRe: Structs or Classes Pin
big_trev2-Oct-05 0:52
big_trev2-Oct-05 0:52 
AnswerRe: Structs or Classes Pin
Tim Smith1-Oct-05 16:36
Tim Smith1-Oct-05 16:36 
GeneralRe: Structs or Classes Pin
leppie2-Oct-05 3:20
leppie2-Oct-05 3:20 
GeneralRe: Structs or Classes Pin
Tim Smith3-Oct-05 3:38
Tim Smith3-Oct-05 3:38 
GeneralRe: Structs or Classes Pin
leppie3-Oct-05 3:50
leppie3-Oct-05 3:50 
QuestionInterface members accesibility Pin
Heinz_30-Sep-05 17:44
Heinz_30-Sep-05 17:44 
AnswerRe: Interface members accesibility Pin
Colin Angus Mackay1-Oct-05 0:53
Colin Angus Mackay1-Oct-05 0:53 
Heinz Suez wrote:
Methods in an interface must be public?

Yes, that is the point. It is defining the external interface* to something. In other words, it is defining the interface* (or part of the interface*) to your class that other classes use.

Heinz Suez wrote:
If i have a public method in an interface, can i make this method "internal" (or any other access parameter) in a class derived from the interface?

No. You cannot. This is because the class would then no longer support the interface it advertises as supporting.


Do not confuse "interface" with the C# keyword "interface". An interface is another way of saying how an external entity sees the class. You provide an interface with any public methods. An interface is a way of defining a common set of public methods or properties that a number of classes support.


My: Blog | Photos

"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious


AnswerRe: Interface members accesibility Pin
Robert Rohde1-Oct-05 4:45
Robert Rohde1-Oct-05 4:45 
QuestionMonth Calendar Pin
kenexcelon30-Sep-05 15:33
kenexcelon30-Sep-05 15:33 
AnswerRe: Month Calendar Pin
g00fyman1-Oct-05 1:36
g00fyman1-Oct-05 1:36 
QuestionAutoPlay handling in C# (IQueryCancelAutoPlay) Pin
Member 83101330-Sep-05 15:12
Member 83101330-Sep-05 15:12 
QuestionCan't get variables into Watch1 in Debug Pin
Anonymous30-Sep-05 14:58
Anonymous30-Sep-05 14:58 
AnswerRe: Can't get variables into Watch1 in Debug Pin
Guffa30-Sep-05 23:42
Guffa30-Sep-05 23:42 
QuestionInterface Icons Pin
Anonymous30-Sep-05 14:12
Anonymous30-Sep-05 14:12 
QuestionHow to write a user defined windows control??? Pin
Ming Luo30-Sep-05 11:48
Ming Luo30-Sep-05 11:48 
AnswerRe: How to write a user defined windows control??? Pin
Jon Rista30-Sep-05 12:23
Jon Rista30-Sep-05 12:23 
GeneralRe: How to write a user defined windows control??? Pin
Ming Luo30-Sep-05 23:55
Ming Luo30-Sep-05 23:55 
GeneralRe: How to write a user defined windows control??? Pin
Jon Rista1-Oct-05 8:08
Jon Rista1-Oct-05 8:08 
AnswerRe: How to write a user defined windows control??? Pin
Heinz_30-Sep-05 17:48
Heinz_30-Sep-05 17:48 
GeneralRe: How to write a user defined windows control??? Pin
Jon Rista1-Oct-05 8:10
Jon Rista1-Oct-05 8:10 
QuestionForm2 DataAdapter/DataSet Pin
rich_wenger30-Sep-05 10:28
rich_wenger30-Sep-05 10:28 
Questionpassing record between forms Pin
mpw_30-Sep-05 9:37
mpw_30-Sep-05 9:37 
AnswerRe: passing record between forms Pin
Robert Rohde30-Sep-05 9:51
Robert Rohde30-Sep-05 9:51 
GeneralRe: passing record between forms Pin
mpw_30-Sep-05 10:24
mpw_30-Sep-05 10:24 

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.