Click here to Skip to main content
15,924,317 members
Home / Discussions / C#
   

C#

 
GeneralRe: A form's minimum height Pin
Andrew Paul19-Dec-08 10:25
Andrew Paul19-Dec-08 10:25 
GeneralRe: A form's minimum height Pin
Luc Pattyn19-Dec-08 10:57
sitebuilderLuc Pattyn19-Dec-08 10:57 
Questionproblems with myclass Pin
mirko8619-Dec-08 8:39
mirko8619-Dec-08 8:39 
AnswerRe: problems with myclass Pin
Wes Aday19-Dec-08 8:49
professionalWes Aday19-Dec-08 8:49 
GeneralRe: problems with myclass Pin
mirko8619-Dec-08 8:51
mirko8619-Dec-08 8:51 
AnswerRe: problems with myclass Pin
Adam Maras19-Dec-08 8:51
Adam Maras19-Dec-08 8:51 
GeneralRe: problems with myclass Pin
mirko8619-Dec-08 8:58
mirko8619-Dec-08 8:58 
GeneralRe: problems with myclass Pin
#realJSOP19-Dec-08 9:38
professional#realJSOP19-Dec-08 9:38 
You have to do it this way:

public class Stuff
{
    public int a = 0;
    public int b = 1;
    public string c = "string stuff";
    public Stuff()
    {
    }
}

// this line allocates the array to hold 10 Stuff objects
Stuff[] m_stuff = new Stuff[10];

public CreateStuff()
{
    // this code CREATES the stuff objects in the array
    for (int i = 1; i < 10; i++)
    {
        m_stuff[i] = new Stuff();
    }
}


At that point, you can access your stuff.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: problems with myclass [modified] Pin
mirko8619-Dec-08 11:24
mirko8619-Dec-08 11:24 
QuestionExecute code at exact time Pin
tcombs0719-Dec-08 8:02
tcombs0719-Dec-08 8:02 
AnswerRe: Execute code at exact time Pin
Giorgi Dalakishvili19-Dec-08 8:11
mentorGiorgi Dalakishvili19-Dec-08 8:11 
AnswerRe: Execute code at exact time Pin
Blue_Boy19-Dec-08 8:14
Blue_Boy19-Dec-08 8:14 
GeneralRe: Execute code at exact time Pin
#realJSOP19-Dec-08 10:18
professional#realJSOP19-Dec-08 10:18 
GeneralRe: Execute code at exact time Pin
Blue_Boy19-Dec-08 10:22
Blue_Boy19-Dec-08 10:22 
QuestionIs there a bug in the treeView.Nodes.Find method?? Pin
Rafone19-Dec-08 6:27
Rafone19-Dec-08 6:27 
AnswerRe: Is there a bug in the treeView.Nodes.Find method?? Pin
PIEBALDconsult19-Dec-08 7:15
mvePIEBALDconsult19-Dec-08 7:15 
GeneralRe: Is there a bug in the treeView.Nodes.Find method?? Pin
Rafone19-Dec-08 7:32
Rafone19-Dec-08 7:32 
QuestionDeploying an application written in C# 2005 Special Edition Pin
AngusOAP19-Dec-08 6:15
AngusOAP19-Dec-08 6:15 
QuestionHook Child events into Parent UserControl Pin
mmuttmax19-Dec-08 5:33
mmuttmax19-Dec-08 5:33 
Questionimport csv. Read not a problem, just cannot display the columns Pin
arenaldo19-Dec-08 4:51
arenaldo19-Dec-08 4:51 
AnswerRe: import csv. Read not a problem, just cannot display the columns Pin
Le centriste19-Dec-08 4:55
Le centriste19-Dec-08 4:55 
QuestionHow to invoke multiple webmethods at a once? Pin
venkat.st19-Dec-08 3:32
venkat.st19-Dec-08 3:32 
AnswerRe: How to invoke multiple webmethods at a once? Pin
Le centriste19-Dec-08 4:56
Le centriste19-Dec-08 4:56 
QuestionDirectory Services Pin
Jacob D Dixon19-Dec-08 3:30
Jacob D Dixon19-Dec-08 3:30 
QuestionFtp Transfer Server to Server Pin
New78019-Dec-08 3:12
New78019-Dec-08 3:12 

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.