Subscribe to Damage's Blog        RSS Feed
- - - - -

Short intro to memory

Icon Leave Comment
I've always heard of the stack and heap, and being advanced topics, i tried not give them too much though

But here's a two quick bullet points which made the concepts really accessible
(taken straight from the book)

- When you call a method, the memory required for it's parameters and it's local variables is always acquired from...
- - - - -

Checked vs Unchecked

Icon Leave Comment
Something thats probably "well duh" for the majority of you but it's new for me.

For those of you like me here's how this works,

int's(for clarity signed 32-bit integers) have a range from -2147483648 to 214748367.
Simple enough right.

Now what happens when you add 1 to 214748367. Well before today i thought that was...
- - - - -

Wise words

Icon Leave Comment
Procrastination, like masturbation, is great until you realise you're only fucking yourself
- - - - -

Connection Strings

Icon 2 Comments
Slow progress but i learnt something today that i feel is worth writing up, storing connection strings in the app.config file.

As i beginner i've usually just hardcoded the connection straight into my class ( i create a sql class to group all my sql methods and handle opening and closing the connection etc). But this time i decided to look...
- - - - -

Setting up the Initial tables

Icon Leave Comment
So like i said in the previous entry, starting pretty small and so i'm not going into detail here, the description in the code comments is pretty self explanatory, will say that i'm running this in MS SQL 2012, if anyone wants to follow along

- - - - -

Main Database creation

Icon Leave Comment
so first step. Create the database

Since this is 1) a learning project and 2) always invisaged as being a small database, i'm not going to bother with splitting it over multiple files or storing the log and mdf on seperate disks. The main reasons you would do this is to gain performance benifits and increased protection from a disaster...
- - - - -

Step 1

Icon Leave Comment
Never done a blog before but what the hell.
I'm pretty much entry level at moment and this is gonna be my blog out of noobdom.

So feel free to comment on any thing that you feel can be improved or is complete idiocy.

My first project is a job tracker. The idea is that it will run on the intranet at work and it's going to be C# WPF front...
Page 1 of 1

February 2020

232425 26 272829


    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)