Click here to Skip to main content
15,917,456 members
Home / Discussions / C#
   

C#

 
GeneralRe: Array question! Pin
C++NewBe19-Jan-07 9:13
C++NewBe19-Jan-07 9:13 
AnswerRe: Array question! Pin
Guffa19-Jan-07 9:53
Guffa19-Jan-07 9:53 
GeneralRe: Array question! Pin
Ed.Poore19-Jan-07 12:38
Ed.Poore19-Jan-07 12:38 
AnswerRe: Array question! Pin
David Domingues22-Jan-07 5:31
David Domingues22-Jan-07 5:31 
QuestionArray.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 8:08
C++NewBe19-Jan-07 8:08 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
jchigg200019-Jan-07 8:16
jchigg200019-Jan-07 8:16 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Guffa19-Jan-07 8:17
Guffa19-Jan-07 8:17 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Dustin Metzgar19-Jan-07 8:18
Dustin Metzgar19-Jan-07 8:18 
Yes, GetUpperBound is used to get the boundaries of different dimensions of an array. Call GetUpperBound(0) to get the upper bound of the first dimension, GetUpperBound(1) for the second dimension and so on. It's in case you're using a 2-dimensional (or higher) array. Also, GetUpperBound returns the highest index of that array instead of the number of values in that array. So, whereas you would do for (int i = 0; i < arr.Length; i++) for length, you would do this for the upper bound: for (int i = 0; i <= arr.GetUpperBound(0); i++)



AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 8:29
C++NewBe19-Jan-07 8:29 
QuestionSerializing in RESX file? Pin
Barguast219-Jan-07 7:59
Barguast219-Jan-07 7:59 
Questionhow to play video from stream ? Pin
hdv21219-Jan-07 7:44
hdv21219-Jan-07 7:44 
QuestionRe: how to play video from stream ? Pin
calabe22-Jan-07 22:29
calabe22-Jan-07 22:29 
QuestionAuthorization Problem Pin
Semion_N19-Jan-07 6:56
Semion_N19-Jan-07 6:56 
AnswerRe: Authorization Problem Pin
led mike19-Jan-07 7:20
led mike19-Jan-07 7:20 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 7:37
Semion_N19-Jan-07 7:37 
GeneralRe: Authorization Problem Pin
Abisodun19-Jan-07 8:06
Abisodun19-Jan-07 8:06 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 8:39
Semion_N19-Jan-07 8:39 
GeneralRe: Authorization Problem Pin
Abisodun20-Jan-07 3:26
Abisodun20-Jan-07 3:26 
AnswerRe: Authorization Problem Pin
Semion_N19-Jan-07 8:47
Semion_N19-Jan-07 8:47 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 8:55
Dan Neely19-Jan-07 8:55 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 9:11
Semion_N19-Jan-07 9:11 
GeneralRe: Authorization Problem Pin
Rob Graham19-Jan-07 9:46
Rob Graham19-Jan-07 9:46 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 9:50
Dan Neely19-Jan-07 9:50 
QuestionCan one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 6:42
TrooperIronMan19-Jan-07 6:42 
AnswerRe: Can one XML file hold more than one C# object? Pin
led mike19-Jan-07 7:10
led mike19-Jan-07 7:10 

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.