Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a C# Expert!

Join 243,952 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,202 people online right now. Registration is fast and FREE... Join Now!




C# Basics Quick Reference (Cheat Sheet)

2 Pages V  1 2 >  
Reply to this topicStart new topic

> C# Basics Quick Reference (Cheat Sheet)

skyhawk133
Group Icon



post 9 Oct, 2007 - 05:34 PM
Post #1


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!
IPB 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!
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!

root_hacker
Group Icon



post 12 Oct, 2007 - 03:10 AM
Post #2
its only a single black page in downloaded pdf. Anyone else got this same problem or not please reply

Go to the top of the page
+Quote Post

root_hacker
Group Icon



post 12 Oct, 2007 - 03:25 AM
Post #3
i have got now a pink page with no text
Go to the top of the page
+Quote Post

PsychoCoder
Group Icon



post 12 Oct, 2007 - 03:59 AM
Post #4
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 smile.gif
Go to the top of the page
+Quote Post

skyhawk133
Group Icon



post 12 Oct, 2007 - 04:52 AM
Post #5
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.
Go to the top of the page
+Quote Post

csmanoj
Group Icon



post 15 Oct, 2007 - 07:50 AM
Post #6
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?

QUOTE(root_hacker @ 12 Oct, 2007 - 04:25 AM) *

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).
Go to the top of the page
+Quote Post

skyhawk133
Group Icon



post 16 Oct, 2007 - 07:38 AM
Post #7
If you liked the reference sheet, please vote for it on DZone: http://www.dzone.com/links/c_reference_cheat_sheet.html
Go to the top of the page
+Quote Post

srtech
Group Icon



post 18 Oct, 2007 - 10:15 AM
Post #8
Once again... another great resource. I've added it to my site.

Looking forward to more... if there are any languages left smile.gif
Go to the top of the page
+Quote Post

baavgai
Group Icon



post 19 Dec, 2007 - 10:28 AM
Post #9
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. tongue.gif

Content is fine, of course. smile.gif 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.

CODE
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. wink2.gif

I'd write it like so, to be reasonably consistent:
CODE

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.
CODE

Inline If
variable = IIf( condition, value_if_false, value_if_true )

Go to the top of the page
+Quote Post

khairynero
*



post 21 Jul, 2008 - 03:15 AM
Post #10
thanks very much
Go to the top of the page
+Quote Post

Thomsoningreen
*



post 30 Oct, 2008 - 06:37 PM
Post #11
icon_up.gif 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.
Go to the top of the page
+Quote Post

rgraylint
*



post 22 Dec, 2008 - 08:28 AM
Post #12
Thanks! Great Reference Tool!
Go to the top of the page
+Quote Post

janebush08
*



post 22 Dec, 2008 - 10:34 PM
Post #13
You have done great work... thank you dear friend...


php shopping cart

This post has been edited by janebush08: 22 Dec, 2008 - 10:37 PM
Go to the top of the page
+Quote Post

bunny20
*



post 29 Dec, 2008 - 06:57 AM
Post #14
I only got 1 pink page
Go to the top of the page
+Quote Post

kokita
*



post 30 Dec, 2008 - 04:34 AM
Post #15
thanks alot it is very usefull for me great jop
Go to the top of the page
+Quote Post

startpoint2009@gmail.com
*



post 16 Mar, 2009 - 10:39 PM
Post #16
Thanks for ur share.
But if there is a .chm version, It will be better for me smile.gif
Go to the top of the page
+Quote Post

azeiot
*



post 17 Mar, 2009 - 09:28 AM
Post #17
thank you very much.. i highly appreciate your help.....
Go to the top of the page
+Quote Post

TheStorm1
*



post 22 May, 2009 - 02:02 PM
Post #18
Not looking at sheet really closely, but browsing through ... you are declaring a variable with "AS"

You give a Line Continuation explanation for C# ... again, a VB reference ... *** SIGH ***

I may look closer later, but sheet needs to be redone ... rolleyes.gif
Go to the top of the page
+Quote Post

PsychoCoder
Group Icon



post 22 May, 2009 - 02:46 PM
Post #19
@TheStorm1 In C# the @ symbol is used for 3 things:
  1. Multi-line strings (thus a line continuation character)
  2. Escaping a string (such as one containing a path)
  3. It allows you to use keywords (i.e. 'class', 'string', 'public') as identifiers in your code.

So that part of the sheet is technically correct. As for the AS keyword, I helped write this sheet and dont recall that ever being in there. I'll let the powers that be know that it needs to be removed and the sheet reimaged smile.gif
Go to the top of the page
+Quote Post

Toterminat
*



post 25 May, 2009 - 08:11 AM
Post #20
QUOTE(root_hacker @ 12 Oct, 2007 - 03:10 AM) *

its only a single black page in downloaded pdf. Anyone else got this same problem or not please reply



Yup dude .,,

I hv Got The SAME problem mad.gif
Go to the top of the page
+Quote Post


2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 7/3/09 03:01PM

Live C# Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month