Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. String vs string

String vs string

Scheduled Pinned Locked Moved C#
csharpvisual-studioquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    triton630
    wrote on last edited by
    #1

    Can anyone tell me if there is a difference between "String" vs "string" in C#? "string" comes up as a keyword in VS.NET. "String" does not. Just wondering. :) Thanks.

    I G 2 Replies Last reply
    0
    • T triton630

      Can anyone tell me if there is a difference between "String" vs "string" in C#? "string" comes up as a keyword in VS.NET. "String" does not. Just wondering. :) Thanks.

      I Offline
      I Offline
      ian mariano
      wrote on last edited by
      #2

      They are identical (aliases). So are Object and object as well as Decimal and decimal and a few others.

      Ian Mariano - Bliki | Blog
      "We are all wave equations in the information matrix of the universe" - me

      1 Reply Last reply
      0
      • T triton630

        Can anyone tell me if there is a difference between "String" vs "string" in C#? "string" comes up as a keyword in VS.NET. "String" does not. Just wondering. :) Thanks.

        G Offline
        G Offline
        gUrM33T
        wrote on last edited by
        #3

        string is an alias for System.String in the .NET Framework. Gurmeet


        BTW, can Google help me search my lost pajamas?

        My Articles: HTML Reader C++ Class Library, Numeric Edit Control

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups