Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
QuestionMake A Property Read-Only At Runtime Pin
Kevin Marois24-Mar-10 5:53
professionalKevin Marois24-Mar-10 5:53 
AnswerRe: Make A Property Read-Only At Runtime Pin
Not Active24-Mar-10 6:18
mentorNot Active24-Mar-10 6:18 
GeneralRe: Make A Property Read-Only At Runtime Pin
Kevin Marois24-Mar-10 6:21
professionalKevin Marois24-Mar-10 6:21 
GeneralRe: Make A Property Read-Only At Runtime Pin
Not Active24-Mar-10 6:28
mentorNot Active24-Mar-10 6:28 
GeneralRe: Make A Property Read-Only At Runtime Pin
Kevin Marois24-Mar-10 6:32
professionalKevin Marois24-Mar-10 6:32 
GeneralRe: Make A Property Read-Only At Runtime Pin
PIEBALDconsult24-Mar-10 6:51
mvePIEBALDconsult24-Mar-10 6:51 
AnswerRe: Make A Property Read-Only At Runtime Pin
Abhinav S24-Mar-10 6:28
Abhinav S24-Mar-10 6:28 
AnswerRe: Make A Property Read-Only At Runtime Pin
harold aptroot24-Mar-10 6:32
harold aptroot24-Mar-10 6:32 
C# has no build-in way to do this (changing whether something is readonly at runtime) so you'll have to do it manually .. that's actually trivial though
But of course, if you have to enforce it, that means that some other component is trying to set that property anyway (enforcing a rule no one is trying to break is useless) - can't you just tell it to stop doing that?
AnswerRe: Make A Property Read-Only At Runtime Pin
Ennis Ray Lynch, Jr.24-Mar-10 9:34
Ennis Ray Lynch, Jr.24-Mar-10 9:34 
QuestionSplit a text to 5 string Pin
Chucky6424-Mar-10 4:46
Chucky6424-Mar-10 4:46 
AnswerRe: Split a text to 5 string Pin
PIEBALDconsult24-Mar-10 4:54
mvePIEBALDconsult24-Mar-10 4:54 
AnswerRe: Split a text to 5 string Pin
OriginalGriff24-Mar-10 5:05
mveOriginalGriff24-Mar-10 5:05 
GeneralRe: Split a text to 5 string Pin
Chucky6424-Mar-10 5:11
Chucky6424-Mar-10 5:11 
GeneralRe: Split a text to 5 string Pin
PIEBALDconsult24-Mar-10 5:19
mvePIEBALDconsult24-Mar-10 5:19 
GeneralRe: Split a text to 5 string Pin
Chucky6424-Mar-10 5:23
Chucky6424-Mar-10 5:23 
AnswerRe: Split a text to 5 string Pin
Dr.Walt Fair, PE24-Mar-10 5:06
professionalDr.Walt Fair, PE24-Mar-10 5:06 
GeneralRe: Split a text to 5 string Pin
Chucky6424-Mar-10 5:13
Chucky6424-Mar-10 5:13 
GeneralRe: Split a text to 5 string Pin
Dr.Walt Fair, PE24-Mar-10 5:22
professionalDr.Walt Fair, PE24-Mar-10 5:22 
GeneralRe: Split a text to 5 string Pin
Chucky6424-Mar-10 5:26
Chucky6424-Mar-10 5:26 
GeneralRe: Split a text to 5 string Pin
Dr.Walt Fair, PE24-Mar-10 5:35
professionalDr.Walt Fair, PE24-Mar-10 5:35 
GeneralRe: Split a text to 5 string Pin
Luc Pattyn24-Mar-10 5:42
sitebuilderLuc Pattyn24-Mar-10 5:42 
GeneralRe: Split a text to 5 string Pin
Dr.Walt Fair, PE24-Mar-10 5:48
professionalDr.Walt Fair, PE24-Mar-10 5:48 
Questionstudent blog for recruitment Pin
sireeshabalineni24-Mar-10 3:59
sireeshabalineni24-Mar-10 3:59 
AnswerRe: student blog for recruitment Pin
Keith Barrow24-Mar-10 4:02
professionalKeith Barrow24-Mar-10 4:02 
AnswerRe: student blog for recruitment Pin
Calla24-Mar-10 4:39
Calla24-Mar-10 4:39 

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.