5 Replies - 4266 Views - Last Post: 29 March 2007 - 10:34 AM Rate Topic: -----

#1 skyhawk133   User is offline

  • Head DIC Head
  • member icon

Reputation: 1964
  • View blog
  • Posts: 20,421
  • Joined: 17-March 01

Programming Reference Sheets: C#

Posted 15 August 2006 - 05:38 PM

Let's do a nice C# reference sheet for our C++ members ;) Remember, keep it basic... around 115 lines is all I can fit on these.

Will need a color suggestion for this one too.
Is This A Good Question/Topic? 0
  • +

Replies To: Programming Reference Sheets: C#

#2 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 253
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Programming Reference Sheets: C#

Posted 15 August 2006 - 05:53 PM

Given the similarities in structure between the labgauges and the desire to capture the basic stuff, I'd suggest that this one beased on the java sheet - a translation, if you will. the .NET languages are quite robust, and there is a lot of material that could go on, but some symmetry between the sheets may be a good idea.
Was This Post Helpful? 0
  • +
  • -

#3 skyhawk133   User is offline

  • Head DIC Head
  • member icon

Reputation: 1964
  • View blog
  • Posts: 20,421
  • Joined: 17-March 01

Re: Programming Reference Sheets: C#

Posted 25 August 2006 - 05:59 PM

Anyone have anything to contribute to the C# ref sheet?!
Was This Post Helpful? 0
  • +
  • -

#4 skyhawk133   User is offline

  • Head DIC Head
  • member icon

Reputation: 1964
  • View blog
  • Posts: 20,421
  • Joined: 17-March 01

Re: Programming Reference Sheets: C#

Posted 04 September 2006 - 10:01 AM

Nobody here knows enough C# to do a basic syntax reference sheet?!
Was This Post Helpful? 0
  • +
  • -

#5 Louisda16th   User is offline

  • dream.in.assembly.code
  • member icon

Reputation: 15
  • View blog
  • Posts: 1,967
  • Joined: 03-August 06

Re: Programming Reference Sheets: C#

Post icon  Posted 05 September 2006 - 03:36 AM

I dunno nething in C# myself but i found this msdn link. Click Here
Hope this helps a bit. :)

This post has been edited by Louisda16th: 05 September 2006 - 04:18 AM

Was This Post Helpful? 0
  • +
  • -

#6 orangeslide8   User is offline

  • D.I.C Head
  • member icon

Reputation: 4
  • View blog
  • Posts: 203
  • Joined: 29-December 06

Re: Programming Reference Sheets: C#

Posted 29 March 2007 - 10:34 AM

i could do some of the basic components of the C# sheet dimensioning variables loops ect. i also suggest the color be green because thats what color visual C# express edition is C++ is yellow vb is blue java red but since C++ has already taken up green i sugest yellow. heres some of the components of the C++ sheet that i can write in C#
data types 
int, char, float, double, void, bool

comments
// single line comment
/* multi
*line 
*text*/

arithmitic operators
+(addition), - (subtraction), * (multiplication), / (division), // i don't know if the modulus works

relation operators
< (Less Than), <= (less than or Equal to), > (Greater Than), >=(Greater than or equal to), ==(Equal to) !=(not equal to)

if/elseif/else
if (condition)
{
<statement>
}Elseif (condition)
{
<statement1>
}else
{
<statements2>
}


while loop
while (condition)
{
statment
}

1 dimentional array
//dimension
data type [] arrayname;
// intitilize
data type [] arrayname = new data type [parameters];

multi deminstional array
data type [ comma for each dimension] arrayname;
data type [ same number of commas] arrayname = new data type [parameters];


thats about all I know (or all im sure of)
ill look move up for you if your sure we can acully make it
thnx
john
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1