Click here to Skip to main content
15,884,810 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with Writing FileStream Pin
Trak4Net4-Jul-12 11:29
Trak4Net4-Jul-12 11:29 
GeneralRe: Problem with Writing FileStream Pin
Software20074-Jul-12 11:46
Software20074-Jul-12 11:46 
QuestionC# code obtain and compares Pin
sc steinhayse3-Jul-12 15:13
sc steinhayse3-Jul-12 15:13 
AnswerRe: C# code obtain and compares Pin
RobCroll3-Jul-12 17:18
RobCroll3-Jul-12 17:18 
AnswerRe: C# code obtain and compares Pin
Abhinav S3-Jul-12 17:24
Abhinav S3-Jul-12 17:24 
AnswerRe: C# code obtain and compares Pin
Pete O'Hanlon3-Jul-12 22:17
mvePete O'Hanlon3-Jul-12 22:17 
QuestionMulti-Dimensional Array's? Pin
premier-gamer3-Jul-12 13:47
premier-gamer3-Jul-12 13:47 
GeneralRe: Multi-Dimensional Array's? Pin
RobCroll3-Jul-12 14:15
RobCroll3-Jul-12 14:15 
====================================================
int[,] array = new int[24, 3]; //any number
for(int i=0; i<24; i++)
{
array[i][0] = binaryReader.readBytes(4);
array[i][1] = binaryReader.readInt32();
array[i][2] = binaryReader.readStringTerminatedNull();
}
====================================================

Note how array is initialised int [,] and [24, 3]
Note how element is referenced 0, 1, 2 not name, age and input
Also int[] can only contain integer values, not strings.

Personally I hate multi-dimensional arrays. I almost always encapsulate them as collections of classes so array[i][0] becomes person.name
"You get that on the big jobs."

GeneralRe: Multi-Dimensional Array's? Pin
premier-gamer3-Jul-12 14:21
premier-gamer3-Jul-12 14:21 
GeneralRe: Multi-Dimensional Array's? Pin
RobCroll3-Jul-12 14:40
RobCroll3-Jul-12 14:40 
GeneralRe: Multi-Dimensional Array's? Pin
premier-gamer3-Jul-12 15:32
premier-gamer3-Jul-12 15:32 
GeneralRe: Multi-Dimensional Array's? Pin
Mycroft Holmes3-Jul-12 17:02
professionalMycroft Holmes3-Jul-12 17:02 
AnswerRe: Multi-Dimensional Array's? Pin
Luc Pattyn3-Jul-12 14:22
sitebuilderLuc Pattyn3-Jul-12 14:22 
QuestionExport To Excel Advanced Pin
DJCRIS123-Jul-12 5:15
DJCRIS123-Jul-12 5:15 
AnswerRe: Export To Excel Advanced Pin
Eddy Vluggen3-Jul-12 12:52
professionalEddy Vluggen3-Jul-12 12:52 
AnswerRe: Export To Excel Advanced Pin
RobCroll3-Jul-12 14:25
RobCroll3-Jul-12 14:25 
AnswerRe: Export To Excel Advanced Pin
ignrod3-Jul-12 14:34
ignrod3-Jul-12 14:34 
QuestionHow to bind extra column(sales) along with Latitude and logitude in GoogleMaps in C# with Asp.Net Pin
ChandrakanthGaddam3-Jul-12 5:12
ChandrakanthGaddam3-Jul-12 5:12 
Questionsetting orientation of x-axis labels Pin
Danzy833-Jul-12 4:32
Danzy833-Jul-12 4:32 
AnswerRe: setting orientation of x-axis labels Pin
Pete O'Hanlon3-Jul-12 4:33
mvePete O'Hanlon3-Jul-12 4:33 
GeneralRe: setting orientation of x-axis labels Pin
Danzy833-Jul-12 4:51
Danzy833-Jul-12 4:51 
GeneralRe: setting orientation of x-axis labels Pin
Pete O'Hanlon3-Jul-12 5:49
mvePete O'Hanlon3-Jul-12 5:49 
GeneralSetting X-axis values (Labels) on chart [solved] Pin
Danzy833-Jul-12 4:16
Danzy833-Jul-12 4:16 
GeneralContinuation of Correct way of doing installers Pin
glennPattonWork33-Jul-12 1:39
professionalglennPattonWork33-Jul-12 1:39 
GeneralRe: Continuation of Correct way of doing installers Pin
Pete O'Hanlon3-Jul-12 1:52
mvePete O'Hanlon3-Jul-12 1:52 

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.