C#.net keyword

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dilip kumar sittu
    New Member
    • Oct 2007
    • 1

    C#.net keyword

    pls define string vs String in C#

    what is casting C#
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Please get some tutorials/textbooks and read them.
    We won't do your homework for you here. That will be cheating.
    See the posting guidelines .

    Comment

    • artov
      New Member
      • Jul 2008
      • 40

      #3
      C# the language defines some datatypes, like string, bool and int. They are mapped to corresponding datatypes in .NET framework. String vs string and Boolean vs bool are trivial, but Int32 and int is not. There are eight (atleast) different datatypes in .NET that are used in implementing integers, so int to Int32 alias makes the code easier to read, use etc.

      I try to use string on declaring variables and fields, when the main thing is that they contain text or other string data.

      Comment

      • snathanm
        New Member
        • Aug 2008
        • 3

        #4
        Hi

        string - string data type (CTS).We can use this with other .net languages.
        String - string data type (C#). We cant use this with other .net languages.


        Thanks
        Nathan

        Comment

        Working...