Click here to Skip to main content
15,915,065 members
Home / Discussions / C#
   

C#

 
AnswerRe: WebBrowser Selected Pin
molesworth28-May-09 1:06
molesworth28-May-09 1:06 
GeneralRe: WebBrowser Selected Pin
jammmie99928-May-09 2:39
professionaljammmie99928-May-09 2:39 
GeneralRe: WebBrowser Selected Pin
molesworth28-May-09 2:50
molesworth28-May-09 2:50 
GeneralAbout Software .exe Pin
Isaac Gordon28-May-09 0:17
Isaac Gordon28-May-09 0:17 
GeneralRe: About Software .exe Pin
OriginalGriff28-May-09 0:27
mveOriginalGriff28-May-09 0:27 
GeneralRe: About Software .exe Pin
Tom Deketelaere28-May-09 0:29
professionalTom Deketelaere28-May-09 0:29 
GeneralRe: About Software .exe Pin
Rajesh R Subramanian28-May-09 0:54
professionalRajesh R Subramanian28-May-09 0:54 
GeneralRe: About Software .exe Pin
Tom Deketelaere28-May-09 1:27
professionalTom Deketelaere28-May-09 1:27 
GeneralRe: About Software .exe Pin
EliottA28-May-09 3:18
EliottA28-May-09 3:18 
GeneralRe: About Software .exe Pin
Searril28-May-09 5:24
Searril28-May-09 5:24 
QuestionPassing multiple Machines to ServiceController Pin
Kunal Pandya28-May-09 0:10
Kunal Pandya28-May-09 0:10 
AnswerRe: Passing multiple Machines to ServiceController Pin
Dave Kreskowiak28-May-09 4:31
mveDave Kreskowiak28-May-09 4:31 
QuestionAccessing peoplesoft api from dotnet Pin
BabuRao.k28-May-09 0:01
BabuRao.k28-May-09 0:01 
AnswerRe: Accessing peoplesoft api from dotnet Pin
Rajesh R Subramanian28-May-09 0:03
professionalRajesh R Subramanian28-May-09 0:03 
Questiontool tip size Pin
michaelgr127-May-09 22:23
michaelgr127-May-09 22:23 
AnswerRe: tool tip size Pin
ScottM127-May-09 22:32
ScottM127-May-09 22:32 
GeneralRe: tool tip size Pin
michaelgr127-May-09 22:36
michaelgr127-May-09 22:36 
GeneralRe: tool tip size Pin
ScottM127-May-09 22:44
ScottM127-May-09 22:44 
QuestionGap detection Pin
viciouskinid27-May-09 22:16
viciouskinid27-May-09 22:16 
AnswerRe: Gap detection Pin
Rob Philpott28-May-09 0:02
Rob Philpott28-May-09 0:02 
QuestionProperty or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Mohammad Dayyan27-May-09 22:16
Mohammad Dayyan27-May-09 22:16 
AnswerRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
OriginalGriff27-May-09 22:26
mveOriginalGriff27-May-09 22:26 
Mohammad Dayyan wrote:
I receive this error :
Property or indexer 'string.this[int]' cannot be assigned to -- it is read only

What's wrong ?


Nothing. Strings in C# are immutable.
From the MSDN on string:
A String object is called immutable (read-only) because its value cannot be modified 
once it has been created. Methods that appear to modify a String object actually return a 
new String object that contains the modification. If it is necessary to modify the actual
contents of a string-like object, use the System.Text.StringBuilder class. 


No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Mohammad Dayyan27-May-09 22:30
Mohammad Dayyan27-May-09 22:30 
GeneralRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Mohammad Dayyan27-May-09 22:33
Mohammad Dayyan27-May-09 22:33 
AnswerRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Calla27-May-09 22:41
Calla27-May-09 22:41 

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.