2 Replies - 447 Views - Last Post: 04 October 2012 - 02:33 AM Rate Topic: -----

#1 xmodz  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 38
  • Joined: 07-March 10

[Question] C# Basics

Posted 04 October 2012 - 01:18 AM

Hey all, I've just recently entered the world of C#. I find the language a lot similar to PHP however being a strongly typed language at times there are some little bits here and there that often left me pondering at he end of the day even after googling these terms such as

what's the difference between / when to use either of these:

string s 
with
 string[] s 


char c 
with
 char[] c 


int i 
with
 int[] i 


etc.

I really appreciate the help though some of you might find this post very foolish or hilarious.

This post has been edited by xmodz: 04 October 2012 - 01:20 AM


Is This A Good Question/Topic? 0
  • +

Replies To: [Question] C# Basics

#2 janne_panne  Icon User is offline

  • WinRT Dev
  • member icon

Reputation: 429
  • View blog
  • Posts: 1,047
  • Joined: 09-June 09

Re: [Question] C# Basics

Posted 04 October 2012 - 01:52 AM

Those variables with brackets [] are called arrays. Here is a tutorial about them:

http://msdn.microsof...3(v=vs.71).aspx
Was This Post Helpful? 2
  • +
  • -

#3 xmodz  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 38
  • Joined: 07-March 10

Re: [Question] C# Basics

Posted 04 October 2012 - 02:33 AM

thanks jane, After browsing through the C# reference sheet I could finally figure out the answer :stupid:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1