• (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

C# Basics Quick Reference (Cheat Sheet)

#1 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1858
  • View blog
  • Posts: 20,275
  • Joined: 17-March 01

Post icon  Posted 09 October 2007 - 06:34 PM

*
POPULAR

C# Basics Quick Reference Sheet (Cheat Sheet)

Download and print the C# Basics Quick Reference Sheet for FREE! Our members have put together this great resource for beginner and expert programmers. Please download and print the PDF below. Our quick reference sheets include syntax and information for commonly used tasks, syntax, and more!
Posted Image
Download & Print the C# Basics Reference Sheet (900K, PDF)


C# Basics Quick Reference Sheet Includes:
  • Namespace
  • Data Types
  • Variable Declaration
  • Type Declaration
  • Suffixes
  • Arrays
  • Comments
  • Line Continuation
  • Arithmetic Operators
  • String Concatenation
  • Relational Operators
  • Logical Operators
  • String Manipulation
  • If/Else Statement
  • Inline If Statement
  • For Loop
  • For Each Loop
  • While Loop
  • Do-While Loop
  • Select Case Statement
  • Function Structure
  • Class Structure
  • Error Handling
Download All Our Other Reference Sheets!


Is This A Good Question/Topic? 7
  • +

Replies To: C# Basics Quick Reference (Cheat Sheet)

#2 root_hacker  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 15-February 05

Posted 12 October 2007 - 04:10 AM

its only a single black page in downloaded pdf. Anyone else got this same problem or not please reply
Was This Post Helpful? 0
  • +
  • -

#3 root_hacker  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 15-February 05

Posted 12 October 2007 - 04:25 AM

i have got now a pink page with no text
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1634
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Posted 12 October 2007 - 04:59 AM

I just downloaded this reference sheet and it looks like it supposed to as far as I can tell. If you want post it as an attachment so I can look at what you have :)
Was This Post Helpful? 0
  • +
  • -

#5 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1858
  • View blog
  • Posts: 20,275
  • Joined: 17-March 01

Posted 12 October 2007 - 05:52 AM

What version of Adobe Reader are you using?

It's a progressive download and it can take a few seconds to render properly. Lots of layers.
Was This Post Helpful? 0
  • +
  • -

#6 csmanoj  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 10
  • View blog
  • Posts: 150
  • Joined: 06-August 07

Posted 15 October 2007 - 08:50 AM

thanks a lot for this guys... been looking for something like this. Now that C#'s done, can i put down a request for a Python Cheat Sheet?

View Postroot_hacker, on 12 Oct, 2007 - 04:25 AM, said:

i have got now a pink page with no text

try the foxit pdf reader. it's so light and renders faster than adobe reader (as far as i observed).
Was This Post Helpful? 0
  • +
  • -

#7 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1858
  • View blog
  • Posts: 20,275
  • Joined: 17-March 01

Posted 16 October 2007 - 08:38 AM

If you liked the reference sheet, please vote for it on DZone: http://www.dzone.com...heat_sheet.html
Was This Post Helpful? 0
  • +
  • -

#8 srtech  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 29-August 06

Posted 18 October 2007 - 11:15 AM

Once again... another great resource. I've added it to my site.

Looking forward to more... if there are any languages left :)
Was This Post Helpful? 0
  • +
  • -

#9 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5643
  • View blog
  • Posts: 12,359
  • Joined: 16-October 07

Posted 19 December 2007 - 11:28 AM

I just recommend the VB.NET sheet to someone on this board, so figured I'd check out C#...

Um, pink? It looks like Hello Kitty had an accident on my screen. No other sheets seem to extend into the laxative side of the color pallet. I guess we know were C# ranks around here. :P

Content is fine, of course. :) However, I did spot a curiosity. First, <expression> seems to be used consistently for "condition", e.g. while(<expression>). However, here it lacks brackets if(expression). Which brings us to an odd entry.

C# version of IIF()
variable == ?true:false;


This seems to be written wrong, or at least confusingly. Also, what's IIF() and why should a C# programmer care? Again, C# just isn't feeling the love. ;)

I'd write it like so, to be reasonably consistent:
Inline If
variable = <expression> ? <value_if_true> : <value_if_false>;



I based this off the one in the VB.NET sheet which, I'm afraid, has a typo.
Inline If
variable = IIf( condition, value_if_false, value_if_true )


Was This Post Helpful? 1
  • +
  • -

#10 khairynero  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 21-July 08

Posted 21 July 2008 - 04:15 AM

thanks very much
Was This Post Helpful? 0
  • +
  • -

#11 Thomsoningreen  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 6
  • Joined: 28-September 08

Posted 30 October 2008 - 07:37 PM

:^: Thanks for the C# cheat sheet it has been helpful so far in this class and the C++ on was Helpful in my last class. Thanks again.
Was This Post Helpful? 0
  • +
  • -

#12 rgraylint  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 22-December 08

Posted 22 December 2008 - 09:28 AM

Thanks! Great Reference Tool!
Was This Post Helpful? 0
  • +
  • -

#13 janebush08  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 5
  • Joined: 22-December 08

Posted 22 December 2008 - 11:34 PM

You have done great work... thank you dear friend...

This post has been edited by Core: 04 July 2009 - 05:53 AM

Was This Post Helpful? 0
  • +
  • -

#14 bunny20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 29-December 08

Posted 29 December 2008 - 07:57 AM

I only got 1 pink page
Was This Post Helpful? 0
  • +
  • -

#15 kokita  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 30-December 08

Posted 30 December 2008 - 05:34 AM

thanks alot it is very usefull for me great jop
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »