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. how to convert value 10 into ascii value

how to convert value 10 into ascii value

Scheduled Pinned Locked Moved C#
4 Posts 4 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.
  • G Offline
    G Offline
    gpremkamal
    wrote on last edited by
    #1

    hi every body i want to send ascii value of 10 plz help me how can i got ascii value of 10 that means "LF" in VC#.net plz help me Prem

    M R E 3 Replies Last reply
    0
    • G gpremkamal

      hi every body i want to send ascii value of 10 plz help me how can i got ascii value of 10 that means "LF" in VC#.net plz help me Prem

      M Offline
      M Offline
      mike montagne
      wrote on last edited by
      #2

      ToString

      1 Reply Last reply
      0
      • G gpremkamal

        hi every body i want to send ascii value of 10 plz help me how can i got ascii value of 10 that means "LF" in VC#.net plz help me Prem

        R Offline
        R Offline
        Russell Jones
        wrote on last edited by
        #3

        system.convert.tochar(10); ? is this what you are looking for Russ

        1 Reply Last reply
        0
        • G gpremkamal

          hi every body i want to send ascii value of 10 plz help me how can i got ascii value of 10 that means "LF" in VC#.net plz help me Prem

          E Offline
          E Offline
          Ennis Ray Lynch Jr
          wrote on last edited by
          #4

          "\u000a" and '\u000a' however those are in unicode. To get the ascii value you would need to use an Ascii Encoder and grab the bytes but why bother, just write 0xa to the stream.


          File Not Found

          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