Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 86,257 C# Programmers. There are 2,045 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a C# Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

C# Basics Quick Reference (Cheat Sheet)

 
Reply to this topicStart new topic

> C# Basics Quick Reference (Cheat Sheet)

skyhawk133
Group Icon



post 9 Oct, 2007 - 06: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!


Register to Make This Ad Go Away!

root_hacker
Group Icon



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


root_hacker
Group Icon



post 12 Oct, 2007 - 04:25 AM
Post #3
i have got now a pink page with no text

PsychoCoder
Group Icon



post 12 Oct, 2007 - 04: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

skyhawk133
Group Icon



post 12 Oct, 2007 - 05: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.

csmanoj
Group Icon



post 15 Oct, 2007 - 08: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).

skyhawk133
Group Icon



post 16 Oct, 2007 - 08: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

srtech
Group Icon



post 18 Oct, 2007 - 11: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

baavgai
Group Icon



post 19 Dec, 2007 - 11: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 )



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

 

Lo-Fi Version Time is now: 5/16/08 09:43AM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month