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

C#

 
QuestionCalling Unmanaged Class in C# Pin
Zeeshan Gulzar10-Apr-06 3:46
Zeeshan Gulzar10-Apr-06 3:46 
AnswerRe: Calling Unmanaged Class in C# Pin
Judah Gabriel Himango10-Apr-06 5:36
sponsorJudah Gabriel Himango10-Apr-06 5:36 
Questionarray incrementation Pin
pankajgarg1210-Apr-06 3:37
pankajgarg1210-Apr-06 3:37 
AnswerRe: array incrementation Pin
Guffa10-Apr-06 3:41
Guffa10-Apr-06 3:41 
GeneralRe: array incrementation Pin
pankajgarg1210-Apr-06 3:57
pankajgarg1210-Apr-06 3:57 
AnswerRe: array incrementation Pin
Guffa10-Apr-06 5:54
Guffa10-Apr-06 5:54 
GeneralRe: array incrementation Pin
pankajgarg1210-Apr-06 18:45
pankajgarg1210-Apr-06 18:45 
AnswerRe: array incrementation Pin
Darth110-Apr-06 20:59
Darth110-Apr-06 20:59 
There is a Collection Class called ArrayList. There are three methods: (Add, Insert, Remove). You can find this code example in Visual C# .NET Step by Step.

Quick Example:

ArrayList numbers = new ArrayList();

//fill the arrayList
foreach (int number in new int[12}{10,9,8,7,7,6,5,4,3,2,1})
{
numbers.Add(number);
}

//Remove first element whose value is 7 (the fourth (4th) index 3)
numbers.Remove(7);
//Now remove the element that's now the 7th element. index: 6 (10)
numbers.RemoveAt(6);

Hope this helps. . .Laugh | :laugh:

Tom Johnson

A+, MCP MCSD .NET SQL
QuestionVS 2003 and VS 2005? Pin
naglbitur10-Apr-06 3:19
naglbitur10-Apr-06 3:19 
AnswerRe: VS 2003 and VS 2005? Pin
Stefan Troschuetz10-Apr-06 3:26
Stefan Troschuetz10-Apr-06 3:26 
AnswerRe: VS 2003 and VS 2005? Pin
albCode10-Apr-06 3:35
albCode10-Apr-06 3:35 
QuestionXML problem Pin
Timothy_198210-Apr-06 2:45
Timothy_198210-Apr-06 2:45 
AnswerRe: XML problem Pin
Timothy_198210-Apr-06 20:19
Timothy_198210-Apr-06 20:19 
QuestionReading/loading website source or text... Pin
pwolfamv10-Apr-06 2:31
pwolfamv10-Apr-06 2:31 
AnswerRe: Reading/loading website source or text... Pin
J. Lamb10-Apr-06 2:46
J. Lamb10-Apr-06 2:46 
AnswerRe: Reading/loading website source or text... Pin
Guffa10-Apr-06 4:07
Guffa10-Apr-06 4:07 
GeneralRe: Reading/loading website source or text... Pin
pwolfamv10-Apr-06 11:02
pwolfamv10-Apr-06 11:02 
QuestionPING from console applciation Pin
J. Lamb10-Apr-06 2:04
J. Lamb10-Apr-06 2:04 
AnswerRe: PING from console applciation Pin
Vasudevan Deepak Kumar10-Apr-06 2:19
Vasudevan Deepak Kumar10-Apr-06 2:19 
QuestionQuotes in C# Pin
Mark0610-Apr-06 1:39
Mark0610-Apr-06 1:39 
AnswerRe: Quotes in C# Pin
alexey N10-Apr-06 1:49
alexey N10-Apr-06 1:49 
GeneralRe: Quotes in C# Pin
Mark0610-Apr-06 2:01
Mark0610-Apr-06 2:01 
GeneralRe: Quotes in C# Pin
Jakob Farian Krarup10-Apr-06 3:50
Jakob Farian Krarup10-Apr-06 3:50 
AnswerRe: Quotes in C# Pin
albCode10-Apr-06 4:03
albCode10-Apr-06 4:03 
GeneralRe: Quotes in C# Pin
Guffa10-Apr-06 6:19
Guffa10-Apr-06 6:19 

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.