Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › [FAQ] A Beginners Guide to Programming, C#.
New Posts  All Forums:Forum Nav:

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

post #71 of 73
Thread Starter 
Quote:
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.

http://msdn.microsoft.com/en-us/library/aa288436%28v=VS.71%29.aspx
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
post #72 of 73
Quote:
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:
Code:
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.
post #73 of 73

Thanks for the response smile.gif
King state
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7-5820k MSI X99A RAIDER NVidia EVGA GTX 980 Ti FTW PATRIOT VIPER 16GB 3000MHz (4x4) DDR4 
Hard DriveCoolingOSMonitor
SAMSUNG EVO  CORSAIR H110i GT Windows 7 Ultimate 64 ASUS VG248QE 3D 24" 144Hz TN 
MonitorKeyboardPowerCase
Dell u2715H 27" 1440P IPS KBC Pok3r III ~Cherry Red SeaSonic x-750 NZXT S340 ~White 
MouseMouse PadAudio
Logitech MX5818 STEELSERIES Q+ FOCUSRITE Scarlett 2i2 
  hide details  
Reply
King state
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7-5820k MSI X99A RAIDER NVidia EVGA GTX 980 Ti FTW PATRIOT VIPER 16GB 3000MHz (4x4) DDR4 
Hard DriveCoolingOSMonitor
SAMSUNG EVO  CORSAIR H110i GT Windows 7 Ultimate 64 ASUS VG248QE 3D 24" 144Hz TN 
MonitorKeyboardPowerCase
Dell u2715H 27" 1440P IPS KBC Pok3r III ~Cherry Red SeaSonic x-750 NZXT S340 ~White 
MouseMouse PadAudio
Logitech MX5818 STEELSERIES Q+ FOCUSRITE Scarlett 2i2 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › [FAQ] A Beginners Guide to Programming, C#.