Click here to Skip to main content
16,015,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: get/set properties with arrays Pin
Nagy Vilmos27-Oct-08 4:34
professionalNagy Vilmos27-Oct-08 4:34 
GeneralRe: get/set properties with arrays Pin
Dewald27-Oct-08 3:30
Dewald27-Oct-08 3:30 
GeneralRe: get/set properties with arrays Pin
Mark Salsbery27-Oct-08 5:18
Mark Salsbery27-Oct-08 5:18 
GeneralRe: get/set properties with arrays Pin
Dewald27-Oct-08 5:38
Dewald27-Oct-08 5:38 
Questionmethod in interface Pin
George_George26-Oct-08 21:20
George_George26-Oct-08 21:20 
AnswerRe: method in interface Pin
Guffa26-Oct-08 22:39
Guffa26-Oct-08 22:39 
GeneralRe: method in interface Pin
George_George27-Oct-08 1:42
George_George27-Oct-08 1:42 
GeneralRe: method in interface Pin
DaveyM6927-Oct-08 2:53
professionalDaveyM6927-Oct-08 2:53 
Anything that's private in an object can only be accessed by that object itself so it is pointless in an interface as is protected as they can only be accessed by the class itself or ones derived from it.

I thought about this too when I first used interfaces. If all the objects that are going to implement the interface will have a specific private method for example then it makes sense to put the private method in the interface so each object has to implement it... If that were possible, it would save alot of typing (or copying/pasting) sometimes but that's not what interfaces are for!

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: method in interface Pin
George_George27-Oct-08 3:44
George_George27-Oct-08 3:44 
GeneralRe: method in interface Pin
DaveyM6927-Oct-08 4:12
professionalDaveyM6927-Oct-08 4:12 
GeneralRe: method in interface Pin
George_George30-Oct-08 3:29
George_George30-Oct-08 3:29 
Questionstrongly named assembly issue Pin
George_George26-Oct-08 20:51
George_George26-Oct-08 20:51 
QuestionGet list of all emails in outlook / windows mail / express client Pin
EliottA26-Oct-08 16:22
EliottA26-Oct-08 16:22 
AnswerRe: Get list of all emails in outlook / windows mail / express client Pin
Thomas Stockwell27-Oct-08 1:51
professionalThomas Stockwell27-Oct-08 1:51 
GeneralRe: Get list of all emails in outlook / windows mail / express client Pin
EliottA27-Oct-08 2:11
EliottA27-Oct-08 2:11 
GeneralRe: Get list of all emails in outlook / windows mail / express client Pin
Thomas Stockwell27-Oct-08 2:17
professionalThomas Stockwell27-Oct-08 2:17 
GeneralRe: Get list of all emails in outlook / windows mail / express client Pin
EliottA27-Oct-08 2:53
EliottA27-Oct-08 2:53 
QuestionSetup / installer Pin
Jacob Dixon26-Oct-08 15:48
Jacob Dixon26-Oct-08 15:48 
AnswerRe: Setup / installer Pin
AhsanS26-Oct-08 18:55
AhsanS26-Oct-08 18:55 
AnswerRe: Setup / installer Pin
jzonthemtn27-Oct-08 1:59
jzonthemtn27-Oct-08 1:59 
QuestionDataGridView RowCount set is slow Pin
AndrusM26-Oct-08 13:17
AndrusM26-Oct-08 13:17 
QuestionCan FtpWebRequest handle only two connections simutaniously ? Pin
quorton26-Oct-08 11:07
quorton26-Oct-08 11:07 
AnswerRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
leppie26-Oct-08 22:50
leppie26-Oct-08 22:50 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
quorton27-Oct-08 0:15
quorton27-Oct-08 0:15 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
leppie27-Oct-08 0:21
leppie27-Oct-08 0:21 

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.