Feb 04 2009

File I/O in C#

Files are pretty popular in computers these days, I hear they get used a lot anymore. I suppose it would be useful to learn how to read and write to them. I haven’t gotten into binary data in files, just text; so this only covers text files. Assuming I get that far […]

Feb 02 2009

String handling

I wanted to fool around with RPG mechanics, try out some various dice rolling mechanisms to see what worked. I figured the easiest way to do that would be the write an equation of sorts and have a program run the numbers for me so I could quickly get see the results. This […]

Jan 29 2009

C# Control Events

I’ve shown two versions of “Hello World” programs in C#, and they were both pretty dull. Which probably means its time to add in some interactive elements. This time around I’ll throw in a text box and a button. All the controls are handled in the same way, so once you learn […]

Jan 27 2009

Hello World, in C#; now with a GUI!

Console based “Hello World” programs are all well and good, but in today’s world your app simply has to have something prettier for the user to work with. So lets put the text into a window instead of a console.

Jan 26 2009

Hello World, in C#!

I’ve now started fooling around with C#, meaning I’ve created a couple of Hello World applications and feel the need to write down what I’ve learned. This probably won’t cover much beyond writing a basic program and compiling it.

© 2007 Mindlence