Results 1 to 5 of 5

Thread: Primitive and Non Primitive data types in C#

  1. #1
    Join Date
    Dec 2010
    Posts
    48

    Primitive and Non Primitive data types in C#

    Hello friends I am an IT student, I have came from united states to India, I have completed my school there and right now looking to do my rest of education in India , and I have planned to establish my career as a software developer and therefore I have started to learn a few programming language and already learned C and C++ language , nut I have got some doubts in C# language and the issue is with the the data types itself . I get confused and normally mix up them with the the language that I have learned already . I will strongly recommend and request to show up their interest and comment on this post. I am waiting for their response .Thank you in advance .

  2. #2
    Join Date
    Apr 2009
    Posts
    569

    Re: Primitive and Non Primitive data types in C#

    If talked about C# in particular the data types that are already built in the are called as Primitive data type if you talk about the non primitive data type then it is again divided as built in and user defined data types , the predefined are already available while the user defined are those which the user creates on its own , the example of such data types are classes , structures, enumerations ,etc.while integer, float , bool , char etc are the predefined data types.

  3. #3
    Join Date
    May 2009
    Posts
    539

    Re: Primitive and Non Primitive data types in C#

    That was all about C# language , I think you need to learn about the primitive data types about the Java language , the data types that are pre defined in Java programming language are called as primitive data types . But if you ask about the non primitive type in Java language , they are the data types or reference types and the initial alphabet of these data types in capital letter , for instance Integer and Float data types .

  4. #4
    Join Date
    May 2009
    Posts
    543

    Re: Primitive and Non Primitive data types in C#

    You have indeed asked a very good question . Yes if you are just came out freshly from the environment after learning the C and The C++ language then it is pretty obvious that we will get confused about the syntaxes being used in it and you are bound to get confused about the data types in particular . Although the usage may be the same but notation of the data type may vary from language to language .

  5. #5
    Join Date
    May 2009
    Posts
    511

    Re: Primitive and Non Primitive data types in C#

    The non-primitive data types in an object oriented language like Java may consist of objects and arrays. These non-primitive types are regularly called "reference types" because they are managed "by reference"--in simple terms , the location of the object or array is stored in a identifier, passed to functions, and so on. If you compare the primitive data type they are of value type and their actual value is stored in variable and the same actual value is given whenever they are passed to any method .

Similar Threads

  1. Different types of data bus in computer
    By CAILYN in forum Hardware Peripherals
    Replies: 5
    Last Post: 29-01-2010, 06:39 AM
  2. What are the the different Data Types available in Oracle?
    By Truster in forum Software Development
    Replies: 5
    Last Post: 09-01-2010, 02:58 PM
  3. What are the types of DATA in a SQL Database
    By Doroteo in forum Software Development
    Replies: 3
    Last Post: 06-11-2009, 10:09 PM
  4. GPU, vertex, pixel and primitive
    By Preetish in forum Motherboard Processor & RAM
    Replies: 4
    Last Post: 02-04-2009, 01:25 PM
  5. Replies: 1
    Last Post: 25-03-2009, 05:29 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,714,254,533.20160 seconds with 17 queries