Results 1 to 4 of 4

Thread: C sharp v/s C plus plus

  1. #1
    Join Date
    Nov 2009
    Posts
    518

    C sharp v/s C plus plus

    Well I am in the first year of my Bsc IT course , although I am doing the . NET course parallely, I began with the procedural C language first , then I stepped into the Object oriented , the C++ language came into picture , as I have gone through my whole 3 year curriculum , I am going to learn the C# language as well , but I do not know the exact difference between those two , can anyone help me on this.

  2. #2
    Join Date
    May 2009
    Posts
    539

    Re: C sharp v/s C plus plus

    I have been taking a initial look at C# a little while ago, since I wanted to be familiar with if it is worth looking into, and since I am thinking about polish up my standard on Parallel coding here at the university with a modest language diversification. I have taught it using POSIX Threads before, but since everyone and even their predecessor seems to use Java or C# these days, throwing in 2 examples in these languages will not have much impact on . And apart from that I was a bit inquisitive .

  3. #3
    Join Date
    May 2009
    Posts
    527

    Re: C sharp v/s C plus plus

    Well I can say a clear difference in both the language . it lies in the pointers , C # does not support the concept of pointers , even if it does it is type safe, it implies that even if you create any pointer in the # it will satisfy all the rules of type safety , but C++ codes are not type safe and provides and implementation of pointers, instead in C++ the delegates are used to point to a method.

  4. #4
    Join Date
    May 2009
    Posts
    543

    Re: C sharp v/s C plus plus

    Yes there other differences as well C# , you can refer to the following points ,

    • In C# value types and reference types subsist (struct is value-type, class is reference-type)
    • value types lie or store on the stack, reference types are stored on the heap
    • references can point to null (must not be applicable)
    • code is wrapped up in assemblies in C#
    • no automatic type conversionconversion from int to bool in C#
    • main-function is referred Main in C#
    • there does not exist any semicolon after a class is being declared declaration in C#
    • everything inherits from object or can be considered .

Similar Threads

  1. Sharp 007SH Hybrid An 3D Clamshell Android Phone by Sharp
    By jackalz in forum Web News & Trends
    Replies: 3
    Last Post: 22-05-2011, 07:28 AM
  2. What are the features of C Sharp?
    By Prashobh Mallu in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 02:49 PM
  3. Use of delegates in C sharp
    By opaper in forum Software Development
    Replies: 5
    Last Post: 25-01-2010, 01:44 PM
  4. C sharp Serialization
    By Truster in forum Software Development
    Replies: 5
    Last Post: 14-01-2010, 08:40 AM
  5. c sharp ticks
    By Sumit21 in forum Software Development
    Replies: 0
    Last Post: 04-06-2009, 09:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,710,822,397.23280 seconds with 16 queries