Click here to Skip to main content
15,902,275 members
Home / Discussions / C#
   

C#

 
QuestionConverting between types inside Lambda Expressions Pin
Andre Vianna12-May-09 8:59
Andre Vianna12-May-09 8:59 
QuestionDraw railway using Graphics GDI+ Pin
baranils12-May-09 8:49
baranils12-May-09 8:49 
AnswerRe: Draw railway using Graphics GDI+ Pin
Christian Graus12-May-09 9:14
protectorChristian Graus12-May-09 9:14 
GeneralRe: Draw railway using Graphics GDI+ Pin
baranils12-May-09 9:42
baranils12-May-09 9:42 
GeneralRe: Draw railway using Graphics GDI+ Pin
Christian Graus12-May-09 10:00
protectorChristian Graus12-May-09 10:00 
AnswerRe: Draw railway using Graphics GDI+ Pin
Mark Churchill12-May-09 18:27
Mark Churchill12-May-09 18:27 
GeneralRe: Draw railway using Graphics GDI+ Pin
baranils12-May-09 19:47
baranils12-May-09 19:47 
QuestionMoving an array element to a variable. Pin
Lecutus112-May-09 8:18
Lecutus112-May-09 8:18 
Moving an array element to a variable.

When I started I didn't think just taking an element and copying to a variable was such a hassle.

OK, I have a string array defined as:

public static string[] Trux_Info = new string[20];

and I have a varaible define as

public static string port_in = "";

Now I thought that something like

port_in = Trux_Info[3]

would work. It didn't. I tried Trux_Info.GetValue(3). It didn't work right.

I know Trux_Info has info I can print to screen\file and the right info is there. I even passed the array across child, parent and back to a different child, the info is there.

I really need this element to go to this single variable, because after this happens then the processing can begin.
Any and all suggestion are appreciated.

Thanks
AnswerRe: Moving an array element to a variable. Pin
OriginalGriff12-May-09 8:26
mveOriginalGriff12-May-09 8:26 
AnswerRe: Moving an array element to a variable. Pin
Dave Kreskowiak12-May-09 8:49
mveDave Kreskowiak12-May-09 8:49 
AnswerRe: Moving an array element to a variable. Pin
Lecutus113-May-09 6:02
Lecutus113-May-09 6:02 
QuestionHow to convert OCX file into C# Pin
dwark10612-May-09 7:48
dwark10612-May-09 7:48 
AnswerRe: How to convert OCX file into C# Pin
CPallini12-May-09 8:16
mveCPallini12-May-09 8:16 
GeneralRe: How to convert OCX file into C# Pin
dwark10612-May-09 8:24
dwark10612-May-09 8:24 
AnswerRe: How to convert OCX file into C# Pin
OriginalGriff12-May-09 8:21
mveOriginalGriff12-May-09 8:21 
AnswerRe: How to convert OCX file into C# Pin
Dave Kreskowiak12-May-09 8:46
mveDave Kreskowiak12-May-09 8:46 
QuestionAnalogclock and timer Pin
Aljaz11112-May-09 7:45
Aljaz11112-May-09 7:45 
AnswerRe: Analogclock and timer Pin
nike_arh12-May-09 10:38
nike_arh12-May-09 10:38 
GeneralRe: Analogclock and timer Pin
Aljaz11112-May-09 12:07
Aljaz11112-May-09 12:07 
AnswerRe: Analogclock and timer Pin
Aljaz11112-May-09 12:44
Aljaz11112-May-09 12:44 
QuestionImages in Gridview Pin
stewy0912-May-09 6:11
stewy0912-May-09 6:11 
AnswerRe: Images in Gridview Pin
Henry Minute12-May-09 7:18
Henry Minute12-May-09 7:18 
Questionrunning out of memory, issues with GC Pin
Jon Hulatt12-May-09 5:46
Jon Hulatt12-May-09 5:46 
AnswerRe: running out of memory, issues with GC Pin
Luc Pattyn12-May-09 6:51
sitebuilderLuc Pattyn12-May-09 6:51 
GeneralRe: running out of memory, issues with GC Pin
Jon Hulatt12-May-09 8:06
Jon Hulatt12-May-09 8:06 

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.