Click here to Skip to main content
14,933,403 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using generics without the caller knowing what type to expect Pin
Jörgen Andersson1-Oct-14 21:35
professionalJörgen Andersson1-Oct-14 21:35 
AnswerRe: Using generics without the caller knowing what type to expect Pin
jschell3-Oct-14 9:20
Memberjschell3-Oct-14 9:20 
AnswerRe: Using generics without the caller knowing what type to expect Pin
aljodav3-Oct-14 18:22
Memberaljodav3-Oct-14 18:22 
QuestionUsing protected set accessor Pin
robwm11-Oct-14 6:23
Memberrobwm11-Oct-14 6:23 
AnswerRe: Using protected set accessor Pin
BillWoodruff1-Oct-14 7:00
mveBillWoodruff1-Oct-14 7:00 
GeneralRe: Using protected set accessor Pin
robwm11-Oct-14 7:17
Memberrobwm11-Oct-14 7:17 
AnswerRe: Using protected set accessor Pin
Richard Deeming1-Oct-14 7:01
mveRichard Deeming1-Oct-14 7:01 
GeneralRe: Using protected set accessor Pin
robwm11-Oct-14 7:14
Memberrobwm11-Oct-14 7:14 
Ok, that is what I was thinking in regards to causing the failure from Main. After the Rectangle object is instantiated, what if later during execution there is a need to change the Length or Width values. Is there a way to do that or would I have to instantiate another instance with the values I need. You certainly confirmed that it cannot be done from Main. It makes me think that the Rectangle class would need to be designed differently.

This is all just hypothetical. The only thing I'm trying to accomplish is a better understanding of how you could use an accessor that has a protected access modifier.
GeneralRe: Using protected set accessor Pin
Richard Deeming1-Oct-14 7:32
mveRichard Deeming1-Oct-14 7:32 
GeneralRe: Using protected set accessor Pin
robwm11-Oct-14 7:36
Memberrobwm11-Oct-14 7:36 
GeneralRe: Using protected set accessor Pin
Andy_L_J1-Oct-14 22:12
MemberAndy_L_J1-Oct-14 22:12 
GeneralRe: Using protected set accessor Pin
robwm12-Oct-14 5:00
Memberrobwm12-Oct-14 5:00 
Questionmultiple / change report in one report viewer Pin
just1c3ss1-Oct-14 1:14
Memberjust1c3ss1-Oct-14 1:14 
AnswerRe: multiple / change report in one report viewer Pin
ZurdoDev1-Oct-14 1:38
professionalZurdoDev1-Oct-14 1:38 
QuestionPass a value from different project Pin
Member 1102592430-Sep-14 17:42
MemberMember 1102592430-Sep-14 17:42 
AnswerRe: Pass a value from different project Pin
V.30-Sep-14 19:40
professionalV.30-Sep-14 19:40 
AnswerRe: Pass a value from different project Pin
BillWoodruff30-Sep-14 21:24
mveBillWoodruff30-Sep-14 21:24 
GeneralRe: Pass a value from different project Pin
Member 1102592430-Sep-14 21:26
MemberMember 1102592430-Sep-14 21:26 
GeneralRe: Pass a value from different project Pin
BillWoodruff30-Sep-14 23:25
mveBillWoodruff30-Sep-14 23:25 
QuestionRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter30-Sep-14 22:01
professionalKornfeld Eliyahu Peter30-Sep-14 22:01 
AnswerRe: Pass a value from different project Pin
Member 1102592430-Sep-14 22:03
MemberMember 1102592430-Sep-14 22:03 
AnswerRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter30-Sep-14 22:15
professionalKornfeld Eliyahu Peter30-Sep-14 22:15 
GeneralRe: Pass a value from different project Pin
Member 1102592430-Sep-14 22:35
MemberMember 1102592430-Sep-14 22:35 
AnswerRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter30-Sep-14 22:58
professionalKornfeld Eliyahu Peter30-Sep-14 22:58 
GeneralRe: Pass a value from different project Pin
Dave Kreskowiak1-Oct-14 2:01
mveDave Kreskowiak1-Oct-14 2:01 

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.