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

C#

 
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 
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 
This is pseudo code as I'm currently working on a Mac

C#
public class Person
{
	public string Name {get, set};
	public double Int {get, set};
	public string Input {get, set};

	public voidMyBusinessLogic()
	{
		//Great place to apply business logic
	}
}

…..

List<Person> people = new List<Person>();

for(int i = 0, i < recordCount; i++)
{
	Person person = new Person();
	person.Name = binaryReader.readStringTerminatedNull();
	person.Age = binaryReader.readInt32();
	person.Input = binaryReader.readStringTerminatedNull();
	
        people.Add(person); //Add to collection that now replaces array
}

"You get that on the big jobs."

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 
GeneralRe: Continuation of Correct way of doing installers Pin
glennPattonWork33-Jul-12 2:09
professionalglennPattonWork33-Jul-12 2:09 
GeneralRe: Continuation of Correct way of doing installers Pin
Pete O'Hanlon3-Jul-12 2:41
mvePete O'Hanlon3-Jul-12 2:41 

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.