[FAQ] A Beginners Guide to Programming, C#. - Page 8 - Overclock.net - An Overclocking Community
Forum Jump: 

[FAQ] A Beginners Guide to Programming, C#.

Thread Tools
post #71 of 73 (permalink) Old 06-21-2013, 07:55 PM - Thread Starter
Retired Staff
Join Date: Mar 2007
Location: Florida, United States
Posts: 15,202
Rep: 417 (Unique: 290)
Originally Posted by xquisit View Post

Thanks for the guide, I know someone recommended a book to read on page 6.. but that was a couple years back.

I am looking into taking on C# as my first computer language, and was hoping someone experienced can chime in with a book (or two) I could pick up!

Thanks in advance.

Licht is offline  
Sponsored Links
post #72 of 73 (permalink) Old 06-22-2013, 08:12 AM
New to Overclock.net
3930K's Avatar
Join Date: Jan 2012
Location: Leeds, UK.
Posts: 6,097
Rep: 157 (Unique: 115)
Originally Posted by Warhaven View Post

Nicely done. My only quip is the break; used in the while-loop example. Using break outside of a switch() statement is considered bad form according to most programming guidelines (along with continue and goto). I feel this would be a better example and achieves the same goal:
Double mydouble = 1.337;
int myinteger = 3;
while (mydouble != myinteger / 3)
    mydouble = Convert.ToDouble(Convert.ToInt32(mydouble));
If you can do it with the condition, fair enough. Also fair enough about goto. But, break and continue are fine, and if not a LOT of Framework methods would be considered bad.

Upgrades which are in consideration: U2713HM | Samsung 830 256GB | Keycaps | Sleeving | AX1200i
Warning: Spoiler! (Click to show)
Originally Posted by Paradigm84 go_quote.gif

Originally Posted by Art Vanelay go_quote.gif

The blue LEDs make it run cooler.
You should also get some Apple stickers so it won't get viruses, an Alienware logo so it can play games amazingly and some Razer gear so everyone knows you are totally 1337.

3930K is offline  
post #73 of 73 (permalink) Old 06-22-2013, 02:18 PM
New to Overclock.net
xquisit's Avatar
Join Date: Jan 2007
Location: Los Angeles
Posts: 4,903
Rep: 114 (Unique: 88)

Thanks for the response smile.gif

"I'd rather die like a man than live like a coward." -2pac
xquisit is offline  

Quick Reply

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Please enter a password for your user account. Note that passwords are case-sensitive.
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off