Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: string and array are immutable? Pin
George_George25-Aug-08 0:17
George_George25-Aug-08 0:17 
GeneralRe: string and array are immutable? Pin
N a v a n e e t h25-Aug-08 0:21
N a v a n e e t h25-Aug-08 0:21 
GeneralRe: string and array are immutable? Pin
George_George25-Aug-08 1:31
George_George25-Aug-08 1:31 
AnswerRe: string and array are immutable? [Modified] Pin
Mustafa Ismail Mustafa25-Aug-08 0:20
Mustafa Ismail Mustafa25-Aug-08 0:20 
GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:28
George_George25-Aug-08 1:28 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 1:35
N a v a n e e t h25-Aug-08 1:35 
GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:39
George_George25-Aug-08 1:39 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 1:30
N a v a n e e t h25-Aug-08 1:30 
Mustafa Ismail Mustafa wrote:
A String is an array of characters, therefore, the same applies.


I doubt this. Array is a block of data with some length and provides indexer to access the data. This is correct for strings. But AFAIK, strings are stored as inline not as character array. Correct me if I am wrong.

Mustafa Ismail Mustafa wrote:
lists, queues and stacks can change in size


MS just wrapped the array copying logic inside these classes. When additional space required, a new array will be created and existing contents will be copied to there.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:33
George_George25-Aug-08 1:33 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 1:39
N a v a n e e t h25-Aug-08 1:39 
GeneralRe: string and array are immutable? [Modified] Pin
George_George25-Aug-08 1:42
George_George25-Aug-08 1:42 
GeneralRe: string and array are immutable? [Modified] Pin
Mustafa Ismail Mustafa25-Aug-08 2:44
Mustafa Ismail Mustafa25-Aug-08 2:44 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 7:00
N a v a n e e t h25-Aug-08 7:00 
GeneralRe: string and array are immutable? [Modified] Pin
Mustafa Ismail Mustafa25-Aug-08 9:13
Mustafa Ismail Mustafa25-Aug-08 9:13 
GeneralRe: string and array are immutable? [Modified] Pin
N a v a n e e t h25-Aug-08 18:23
N a v a n e e t h25-Aug-08 18:23 
AnswerRe: string and array are immutable? Pin
AhsanS25-Aug-08 1:12
AhsanS25-Aug-08 1:12 
GeneralRe: string and array are immutable? Pin
George_George25-Aug-08 1:30
George_George25-Aug-08 1:30 
QuestionCreate a full screen C# program... Pin
Hirakawa24-Aug-08 23:33
Hirakawa24-Aug-08 23:33 
AnswerRe: Create a full screen C# program... Pin
AhsanS25-Aug-08 1:14
AhsanS25-Aug-08 1:14 
GeneralRe: Create a full screen C# program... Pin
chaiguy133725-Aug-08 15:14
chaiguy133725-Aug-08 15:14 
AnswerRe: Create a full screen C# program... Pin
Manas Bhardwaj25-Aug-08 1:28
professionalManas Bhardwaj25-Aug-08 1:28 
AnswerRe: Create a full screen C# program... Pin
Hirakawa25-Aug-08 15:13
Hirakawa25-Aug-08 15:13 
GeneralRe: Create a full screen C# program... Pin
Manas Bhardwaj25-Aug-08 20:48
professionalManas Bhardwaj25-Aug-08 20:48 
QuestionHelp me resolve problem! Pin
medop8224-Aug-08 23:31
medop8224-Aug-08 23:31 
AnswerRe: Help me resolve problem! Pin
N a v a n e e t h24-Aug-08 23:44
N a v a n e e t h24-Aug-08 23:44 

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.