Difference between String and string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AAJ

    Difference between String and string

    does anyone know if the capital S make a difference?

    cheers

    Andy


  • Martin Honnen

    #2
    Re: Difference between String and string

    AAJ wrote:
    does anyone know if the capital S make a difference?
    Not really, string is a type defined for C# that is mapped to the .NET
    framework System.String class.


    --

    Martin Honnen --- MVP XML

    Comment

    • sloan

      #3
      Re: Difference between String and string

      No, it auto converts it under the covers.

      But you might want to read this:







      "AAJ" <a.a.comwrote in message
      news:eHkRfC1AHH A.1220@TK2MSFTN GP04.phx.gbl...
      does anyone know if the capital S make a difference?
      >
      cheers
      >
      Andy
      >
      >

      Comment

      • Cor Ligthert [MVP]

        #4
        Re: Difference between String and string

        It is the same,

        Standard is every type written in dotNet starting with upercases, because of
        legancy (or whatever you call that, this is what I have read) behaviour with
        older C like languages C# uses in these cases as well the start with
        lowercases.

        Cor


        "AAJ" <a.a.comschre ef in bericht
        news:eHkRfC1AHH A.1220@TK2MSFTN GP04.phx.gbl...
        does anyone know if the capital S make a difference?
        >
        cheers
        >
        Andy
        >

        Comment

        • AAJ

          #5
          Re: Difference between String and string

          Thanks Chaps


          Andy



          "AAJ" <a.a.comwrote in message
          news:eHkRfC1AHH A.1220@TK2MSFTN GP04.phx.gbl...
          does anyone know if the capital S make a difference?
          >
          cheers
          >
          Andy
          >

          Comment

          Working...