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. C# Difference between byte and Byte

C# Difference between byte and Byte

Scheduled Pinned Locked Moved C#
csharpquestion
8 Posts 7 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.
  • J Offline
    J Offline
    J imran
    wrote on last edited by
    #1

    Hi, Can You please Tell me what is the difference between 'byte' and 'Byte' as a datatype in C# thank you.

    R A P P 4 Replies Last reply
    0
    • J J imran

      Hi, Can You please Tell me what is the difference between 'byte' and 'Byte' as a datatype in C# thank you.

      R Offline
      R Offline
      Rob Philpott
      wrote on last edited by
      #2

      No difference really, just different names for the same thing. 'byte' is just short for System.Byte. It's a primitive so has shortened form.

      Regards, Rob Philpott.

      J 1 Reply Last reply
      0
      • R Rob Philpott

        No difference really, just different names for the same thing. 'byte' is just short for System.Byte. It's a primitive so has shortened form.

        Regards, Rob Philpott.

        J Offline
        J Offline
        J imran
        wrote on last edited by
        #3

        Thank You

        1 Reply Last reply
        0
        • J J imran

          Hi, Can You please Tell me what is the difference between 'byte' and 'Byte' as a datatype in C# thank you.

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          Byte is a wrapper to primitive type byte. byte is just an alias of System.Byte. This will help you I think : http://mctscertification.blogspot.com/2008/05/what-is-difference-between-byte-and.html[^] :rose:

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          L N 2 Replies Last reply
          0
          • J J imran

            Hi, Can You please Tell me what is the difference between 'byte' and 'Byte' as a datatype in C# thank you.

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            None. One's a synonym for the other.

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            1 Reply Last reply
            0
            • A Abhishek Sur

              Byte is a wrapper to primitive type byte. byte is just an alias of System.Byte. This will help you I think : http://mctscertification.blogspot.com/2008/05/what-is-difference-between-byte-and.html[^] :rose:

              Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


              My Latest Articles-->** Simplify Code Using NDepend
              Basics of Bing Search API using .NET
              Microsoft Bing MAP using Javascript

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Byte is NOT a wrapper for byte. 'byte' is a C# keyword that is a synonym for 'System.Byte'. In computing, the word 'Wrapper' has a different meaning.

              1 Reply Last reply
              0
              • A Abhishek Sur

                Byte is a wrapper to primitive type byte. byte is just an alias of System.Byte. This will help you I think : http://mctscertification.blogspot.com/2008/05/what-is-difference-between-byte-and.html[^] :rose:

                Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                My Latest Articles-->** Simplify Code Using NDepend
                Basics of Bing Search API using .NET
                Microsoft Bing MAP using Javascript

                N Offline
                N Offline
                Natza Mitzi
                wrote on last edited by
                #7

                You are confusing with java. in C# byte == Byte string == String ... ... .. ..

                Natza Mitzi Analysis Studio Statistical Analysis Software

                1 Reply Last reply
                0
                • J J imran

                  Hi, Can You please Tell me what is the difference between 'byte' and 'Byte' as a datatype in C# thank you.

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  The only difference is when defining an enumerated type; byte and the other aliases are allowed, but System.Byte etc. are not.

                  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