What's Here?
- Members: 340,162
- Replies: 920,580
- Topics: 154,963
- Snippets: 4,855
- Tutorials: 1,257
- Total Online: 4,042
- Members: 130
- Guests: 3,912
|
Welcome to Dream.In.Code |
|
|
Become an Expert!
Join 340,162 Programmers for FREE! Get instant access to thousands  of experts, tutorials, code snippets, and more! There are 4,042 people online right now. Registration is fast and FREE... Join Now!
Chat LIVE With a Expert
|
C# Basics Quick Reference (Cheat Sheet)
C# Basics Quick Reference (Cheat Sheet)
Posted 09 October 2007 - 05:34 PM
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 12 October 2007 - 03:10 AM
its only a single black page in downloaded pdf. Anyone else got this same problem or not please reply
Posted 12 October 2007 - 03:25 AM
i have got now a pink page with no text

- apt-get install DIC.bin
-
-
Group:
Admins
-
Posts:
16,214
-
Joined:
26-July 07
Dream Kudos: 12400
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery
Posted 12 October 2007 - 03: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
Posted 12 October 2007 - 04: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.
Posted 15 October 2007 - 07: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?
root_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).
Posted 16 October 2007 - 07:38 AM
If you liked the reference sheet, please vote for it on DZone: http://www.dzone.com...heat_sheet.html
Posted 18 October 2007 - 10:15 AM
Once again... another great resource. I've added it to my site.
Looking forward to more... if there are any languages left

- Dreaming Coder
-
-
Group:
Expert w/DIC++
-
Posts:
4,727
-
Joined:
16-October 07
Dream Kudos: 575
Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua, Cheese
Posted 19 December 2007 - 10: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.
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 )

- New D.I.C Head
-
-
Group:
New Members
-
Posts:
1
-
Joined:
21-July 08
Dream Kudos: 0
Posted 21 July 2008 - 03:15 AM
thanks very much
Posted 30 October 2008 - 06: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.

- New D.I.C Head
-
-
Group:
New Members
-
Posts:
1
-
Joined:
22-December 08
Dream Kudos: 0
Posted 22 December 2008 - 08:28 AM
Thanks! Great Reference Tool!
Posted 22 December 2008 - 10:34 PM
You have done great work... thank you dear friend...
This post has been edited by Core: 04 July 2009 - 04:53 AM

- New D.I.C Head
-
-
Group:
Members
-
Posts:
22
-
Joined:
29-December 08
Dream Kudos: 0
Posted 29 December 2008 - 06:57 AM
I only got 1 pink page

- New D.I.C Head
-
-
Group:
New Members
-
Posts:
5
-
Joined:
30-December 08
Dream Kudos: 0
Posted 30 December 2008 - 04:34 AM
thanks alot it is very usefull for me great jop

- New D.I.C Head
-
-
Group:
New Members
-
Posts:
2
-
Joined:
16-March 09
Dream Kudos: 0
Posted 16 March 2009 - 10:39 PM
Thanks for ur share.
But if there is a .chm version, It will be better for me

- New D.I.C Head
-
-
Group:
New Members
-
Posts:
1
-
Joined:
17-March 09
Dream Kudos: 0
Posted 17 March 2009 - 09:28 AM
thank you very much.. i highly appreciate your help.....
Posted 22 May 2009 - 02:02 PM
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 ...

- apt-get install DIC.bin
-
-
Group:
Admins
-
Posts:
16,214
-
Joined:
26-July 07
Dream Kudos: 12400
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery
Posted 22 May 2009 - 02:46 PM
@TheStorm1 In C# the @ symbol is used for 3 things:
- Multi-line strings (thus a line continuation character)
- Escaping a string (such as one containing a path)
- 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

- New D.I.C Head
-
-
Group:
New Members
-
Posts:
2
-
Joined:
25-May 09
Dream Kudos: 0
Posted 25 May 2009 - 08:11 AM
root_hacker, on 12 Oct, 2007 - 03:10 AM, said:
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
3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users
|
Be Social
Programming
Web Development
Reference Sheets
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
|