Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralProblem with Writing FileStream Pin
Software20074-Jul-12 0:01
Software20074-Jul-12 0:01 
GeneralRe: Problem with Writing FileStream Pin
Richard MacCutchan4-Jul-12 0:21
mveRichard MacCutchan4-Jul-12 0:21 
GeneralRe: Problem with Writing FileStream Pin
Pete O'Hanlon4-Jul-12 0:29
mvePete O'Hanlon4-Jul-12 0:29 
GeneralRe: Problem with Writing FileStream Pin
Richard MacCutchan4-Jul-12 3:47
mveRichard MacCutchan4-Jul-12 3:47 
GeneralRe: Problem with Writing FileStream Pin
Pete O'Hanlon4-Jul-12 4:05
mvePete O'Hanlon4-Jul-12 4:05 
GeneralRe: Problem with Writing FileStream Pin
Richard MacCutchan4-Jul-12 4:20
mveRichard MacCutchan4-Jul-12 4:20 
GeneralRe: Problem with Writing FileStream Pin
Pete O'Hanlon4-Jul-12 4:40
mvePete O'Hanlon4-Jul-12 4:40 
GeneralRe: Problem with Writing FileStream Pin
Luc Pattyn4-Jul-12 1:33
sitebuilderLuc Pattyn4-Jul-12 1:33 
GeneralRe: Problem with Writing FileStream Pin
Software20074-Jul-12 7:16
Software20074-Jul-12 7:16 
GeneralRe: Problem with Writing FileStream Pin
Trak4Net4-Jul-12 7:47
Trak4Net4-Jul-12 7:47 
GeneralRe: Problem with Writing FileStream Pin
Luc Pattyn4-Jul-12 8:02
sitebuilderLuc Pattyn4-Jul-12 8:02 
GeneralRe: Problem with Writing FileStream Pin
Software20074-Jul-12 11:07
Software20074-Jul-12 11:07 
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 
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 

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.