Click here to Skip to main content
15,356,705 members
Home / Discussions / C#
   

C#

 
AnswerRe: Int to string Pin
J4amieC1-May-06 23:22
MemberJ4amieC1-May-06 23:22 
AnswerRe: Int to string Pin
Guffa1-May-06 23:25
MemberGuffa1-May-06 23:25 
GeneralRe: Int to string Pin
Rmokkenstorm1-May-06 23:38
MemberRmokkenstorm1-May-06 23:38 
AnswerRe: Int to string Pin
Josh Smith2-May-06 1:43
MemberJosh Smith2-May-06 1:43 
GeneralRe: Int to string Pin
Rmokkenstorm2-May-06 2:43
MemberRmokkenstorm2-May-06 2:43 
GeneralRe: Int to string Pin
Josh Smith2-May-06 4:21
MemberJosh Smith2-May-06 4:21 
GeneralRe: Int to string Pin
Rmokkenstorm2-May-06 4:34
MemberRmokkenstorm2-May-06 4:34 
Questionassigning Values to a resized string Array Pin
abhinish1-May-06 20:50
Memberabhinish1-May-06 20:50 
Hi guys!

need some Help ..

i m trying ti assign values to a resized string array without loosing its old values..
something like this:

string[] myArr=new string[]{"abhinav","gupta"};

Array.Resize(ref myArr, myArr.length+10}


this code increases the length of array
but how to assign the value of the new added Dimensions..without loosing the old values:

i dont want to use :

myArr[3]="some Text";

as the array is dynamic .. and i have to assign more than 50 values in different situations..

is there some other way to asign the values to new increased Dimensions...



abhinav
AnswerRe: assigning Values to a resized string Array Pin
akyriako781-May-06 21:01
Memberakyriako781-May-06 21:01 
Questiongraphics Pin
cshivaprasad1-May-06 20:42
Membercshivaprasad1-May-06 20:42 
AnswerRe: graphics Pin
CWIZO1-May-06 21:14
MemberCWIZO1-May-06 21:14 
GeneralRe: graphics Pin
cshivaprasad1-May-06 21:19
Membercshivaprasad1-May-06 21:19 
GeneralRe: graphics Pin
CWIZO1-May-06 21:23
MemberCWIZO1-May-06 21:23 
GeneralRe: graphics Pin
cshivaprasad1-May-06 21:32
Membercshivaprasad1-May-06 21:32 
GeneralRe: graphics Pin
CWIZO1-May-06 21:35
MemberCWIZO1-May-06 21:35 
GeneralRe: graphics Pin
cshivaprasad1-May-06 23:41
Membercshivaprasad1-May-06 23:41 
GeneralRe: graphics Pin
CWIZO1-May-06 23:45
MemberCWIZO1-May-06 23:45 
GeneralRe: graphics Pin
cshivaprasad2-May-06 0:08
Membercshivaprasad2-May-06 0:08 
QuestionDerived CollectionBase Class overwriting previous entries. Pin
Steven_Henley1-May-06 20:24
MemberSteven_Henley1-May-06 20:24 
QuestionWebBrowser / HtmlElement Class Help Pin
joetoday1-May-06 19:32
Memberjoetoday1-May-06 19:32 
AnswerRe: WebBrowser / HtmlElement Class Help Pin
leppie1-May-06 20:25
Memberleppie1-May-06 20:25 
GeneralRe: WebBrowser / HtmlElement Class Help Pin
joetoday2-May-06 11:35
Memberjoetoday2-May-06 11:35 
Questionreading a file in C# Pin
leanhsang1-May-06 17:36
Memberleanhsang1-May-06 17:36 
AnswerRe: reading a file in C# Pin
CWIZO1-May-06 21:23
MemberCWIZO1-May-06 21:23 
AnswerRe: reading a file in C# Pin
stancrm1-May-06 23:21
Memberstancrm1-May-06 23: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.