Click here to Skip to main content
       

C#

 
GeneralRe: Uninstallation of msi file programatically PinmemberNarVish4-Feb-13 1:52 
AnswerRe: Uninstallation of msi file programatically PinmemberRichard Deeming4-Feb-13 2:03 
GeneralRe: Uninstallation of msi file programatically PinmemberNarVish4-Feb-13 2:10 
QuestionPaging in ASP.NET C# PinmemberHarshaKN3-Feb-13 22:51 
AnswerRe: Paging in ASP.NET C# PinmemberSimon_Whale4-Feb-13 0:10 
Questionform don't respond immiditly Pinmembermohammadkaab3-Feb-13 21:52 
AnswerRe: form don't respond immiditly PinmvpOriginalGriff3-Feb-13 22:09 
AnswerRe: form don't respond immiditly PinmentorDaveyM694-Feb-13 2:20 
GeneralRe: form don't respond immiditly Pinmembermohammadkaab5-Feb-13 22:50 
GeneralRe: form don't respond immiditly PinmentorDaveyM697-Feb-13 8:00 
QuestionCannot access string in System.String[] [modified] PinmemberAmbiguousName3-Feb-13 21:06 
AnswerRe: Cannot access string in System.String[] Pinmemberjibesh3-Feb-13 21:19 
GeneralRe: Cannot access string in System.String[] PinmemberAmbiguousName3-Feb-13 21:21 
GeneralRe: Cannot access string in System.String[] Pinmemberjibesh3-Feb-13 21:29 
that's the main problem when you work with ArrayList, Add method simply accepts any object you pass. here you are adding the string[] returned by the source.ToArray operation. to Add the array range you should use array.AddRange.
 
My personal recommendation is to avoid using ArrayList in your application and use Generic lists.
 
public void CopySetting(ArrayList mySrcArrayList)
{
    myTargetArrayList.Clear();
    myTargetArrayList.AddRange(mySrcArrayList.ToArray(typeof(string))); //copying the ArrayList
}
Jibesh V P

GeneralRe: Cannot access string in System.String[] PinmemberBobJanova5-Feb-13 4:52 
QuestionC# samples PinmemberNard you3-Feb-13 20:33 
AnswerRe: C# samples PinmentorWayne Gaylard3-Feb-13 20:48 
GeneralRe: C# samples PinmemberNard you3-Feb-13 21:00 
GeneralRe: C# samples PinmentorWayne Gaylard3-Feb-13 21:07 
AnswerRe: C# samples PinmvpAbhinav S3-Feb-13 21:33 
GeneralRe: C# samples PinmemberNard you3-Feb-13 21:47 
AnswerRe: C# samples PinprofessionalAmir Mohammad Nasrollahi29-Jul-13 22:52 
Generaloops Pinmemberankul kumar from sharanpur3-Feb-13 17:37 
AnswerRe: oops PinmvpAbhinav S3-Feb-13 19:12 
QuestionWhy is my windows chart so small, I cant change the size Pinmemberraymond leadingham3-Feb-13 2:47 
AnswerRe: Why is my windows chart so small, I cant change the size PinmvpDave Kreskowiak3-Feb-13 5:06 
GeneralRe: Why is my windows chart so small, I cant change the size Pinmemberraymond leadingham3-Feb-13 5:30 
GeneralRe: Why is my windows chart so small, I cant change the size PinmvpDave Kreskowiak3-Feb-13 9:05 
QuestionHow to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 20:55 
AnswerRe: How to List Banks in a Country in web site PinmvpRichard MacCutchan2-Feb-13 21:28 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 21:50 
GeneralRe: How to List Banks in a Country in web site PinmvpRichard MacCutchan2-Feb-13 21:57 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal2-Feb-13 22:20 
GeneralRe: How to List Banks in a Country in web site PinprotectorPete O'Hanlon3-Feb-13 3:57 
GeneralRe: How to List Banks in a Country in web site Pinmemberakhil lal3-Feb-13 22:14 
AnswerRe: How to List Banks in a Country in web site PinmvpEddy Vluggen3-Feb-13 1:26 
AnswerRe: How to List Banks in a Country in web site Pinmemberjschell3-Feb-13 6:27 
AnswerRe: How to List Banks in a Country in web site PinmvpAbhinav S3-Feb-13 7:00 
QuestionHo to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 9:00 
AnswerRe: Ho to draw a regression line in windows forms charts? PinmemberPeter_in_27802-Feb-13 10:08 
GeneralRe: Ho to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 10:17 
GeneralRe: Ho to draw a regression line in windows forms charts? Pinmemberraymond leadingham2-Feb-13 11:36 
GeneralRe: Ho to draw a regression line in windows forms charts? PinmemberPeter_in_27802-Feb-13 14:52 
Questionusing iTextSharp and c# for page numbers PinmemberTom Paronis2-Feb-13 5:50 
AnswerRe: using iTextSharp and c# for page numbers PinmvpAbhinav S2-Feb-13 7:05 
GeneralRe: using iTextSharp and c# for page numbers PinmemberTom Paronis2-Feb-13 8:06 
QuestionHow to investigate ExecutionEngineException PinmemberKASR11-Feb-13 22:21 
AnswerRe: How to investigate ExecutionEngineException PinmvpRichard MacCutchan1-Feb-13 22:55 
QuestionMdi Child Window Z-Order PinmemberRichard Andrew x641-Feb-13 12:16 
AnswerRe: Mdi Child Window Z-Order Pinmemberjibesh1-Feb-13 12:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 24 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid