Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to run flash Pin
John_Adams6-Oct-08 3:48
John_Adams6-Oct-08 3:48 
AnswerRe: how to run flash Pin
Thomas Stockwell6-Oct-08 6:12
professionalThomas Stockwell6-Oct-08 6:12 
QuestionHow to make an array of a Class..? Pin
fmlove6-Oct-08 2:13
fmlove6-Oct-08 2:13 
AnswerRe: How to make an array of a Class..? Pin
Colin Angus Mackay6-Oct-08 2:17
Colin Angus Mackay6-Oct-08 2:17 
GeneralRe: How to make an array of a Class..? Pin
fmlove6-Oct-08 2:20
fmlove6-Oct-08 2:20 
GeneralRe: How to make an array of a Class..? Pin
Colin Angus Mackay6-Oct-08 2:23
Colin Angus Mackay6-Oct-08 2:23 
AnswerRe: How to make an array of a Class..? Pin
N a v a n e e t h6-Oct-08 2:25
N a v a n e e t h6-Oct-08 2:25 
AnswerRe: How to make an array of a Class..? [modified] Pin
DaveyM696-Oct-08 2:26
professionalDaveyM696-Oct-08 2:26 
Colin Angus Mackay has given you the correct answer to your question above.

However, it's increasingly rare to need to have an array. Normally all we need is a collection in which case I'd recommend a generic list (from System.Collections.Generic).
public List<item> itemCollection = new List<item>();

You'll find that itemCollection has just about everything you'll need to manage the collection including the ToArray() method if you do need your items in an actual array.

Edit: damn these html tags screwing up the generics!

modified on Monday, October 6, 2008 8:35 AM

GeneralRe: How to make an array of a Class..? Pin
#realJSOP6-Oct-08 2:36
mve#realJSOP6-Oct-08 2:36 
GeneralRe: How to make an array of a Class..? Pin
DaveyM696-Oct-08 2:39
professionalDaveyM696-Oct-08 2:39 
GeneralRe: How to make an array of a Class..? Pin
#realJSOP6-Oct-08 2:42
mve#realJSOP6-Oct-08 2:42 
QuestionNetworking Pin
Smithakrishnan6-Oct-08 1:53
Smithakrishnan6-Oct-08 1:53 
AnswerRe: Networking Pin
MumbleB6-Oct-08 2:19
MumbleB6-Oct-08 2:19 
AnswerRe: Networking Pin
nelsonpaixao6-Oct-08 13:35
nelsonpaixao6-Oct-08 13:35 
QuestionHow filter file in WebBrowser?? Pin
Wojciech Nagórski6-Oct-08 1:42
Wojciech Nagórski6-Oct-08 1:42 
AnswerRe: How filter file in WebBrowser?? Pin
#realJSOP6-Oct-08 2:38
mve#realJSOP6-Oct-08 2:38 
AnswerRe: How filter file in WebBrowser?? Pin
#realJSOP6-Oct-08 2:41
mve#realJSOP6-Oct-08 2:41 
GeneralRe: How filter file in WebBrowser?? Pin
Wojciech Nagórski6-Oct-08 2:50
Wojciech Nagórski6-Oct-08 2:50 
GeneralRe: How filter file in WebBrowser?? Pin
#realJSOP6-Oct-08 3:22
mve#realJSOP6-Oct-08 3:22 
GeneralRe: How filter file in WebBrowser?? Pin
Wojciech Nagórski6-Oct-08 3:38
Wojciech Nagórski6-Oct-08 3:38 
GeneralRe: How filter file in WebBrowser?? Pin
#realJSOP6-Oct-08 4:16
mve#realJSOP6-Oct-08 4:16 
QuestionNeed to run .exe from current location Pin
Ethen6-Oct-08 1:34
Ethen6-Oct-08 1:34 
AnswerRe: Need to run .exe from current location Pin
#realJSOP6-Oct-08 2:42
mve#realJSOP6-Oct-08 2:42 
QuestionConnect to sql server 2000 remotely Pin
Hossein Afyuoni6-Oct-08 1:22
Hossein Afyuoni6-Oct-08 1:22 
QuestionRe: Connect to sql server 2000 remotely Pin
Pedram Behroozi6-Oct-08 1:59
Pedram Behroozi6-Oct-08 1:59 

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.