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. anyone help with this ???

anyone help with this ???

Scheduled Pinned Locked Moved C#
helpquestion
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.
  • I Offline
    I Offline
    Imran Adam
    wrote on last edited by
    #1

    Hi, can anyone tell me what the following line of code means, its pretty simple i think but i dont understand what the '/b' bit does..... if (e.KeyChar != '\b') also what if you replaced the '\b' with '\a' what would be the outcome ??? please help Cheers :)

    D H 2 Replies Last reply
    0
    • I Imran Adam

      Hi, can anyone tell me what the following line of code means, its pretty simple i think but i dont understand what the '/b' bit does..... if (e.KeyChar != '\b') also what if you replaced the '\b' with '\a' what would be the outcome ??? please help Cheers :)

      D Offline
      D Offline
      DavidNohejl
      wrote on last edited by
      #2

      Don't even try to tell me that this is not homework... :) "\a" is escape sequence for alert (beep)... go figure! David Never forget: "Stay kul and happy" (I.A.)
      David's thoughts / dnhsoftware.org / MyHTMLTidy

      1 Reply Last reply
      0
      • I Imran Adam

        Hi, can anyone tell me what the following line of code means, its pretty simple i think but i dont understand what the '/b' bit does..... if (e.KeyChar != '\b') also what if you replaced the '\b' with '\a' what would be the outcome ??? please help Cheers :)

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Please read section 2.4.4.4: Character Literals[^] in the C# Language Specification about character literals and what literals are supported in C#. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Customer Product-lifecycle Experience Microsoft [My Articles] [My Blog]

        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