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. Other Discussions
  3. The Weird and The Wonderful
  4. Great implementation

Great implementation

Scheduled Pinned Locked Moved The Weird and The Wonderful
6 Posts 5 Posters 1 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.
  • C Offline
    C Offline
    cansino
    wrote on last edited by
    #1

    class WinCheckButtonProxy
    {
    //some code

    public bool IsChecked()
    {
    return this.IsChecked();
    }
    }

    B 1 Reply Last reply
    0
    • C cansino

      class WinCheckButtonProxy
      {
      //some code

      public bool IsChecked()
      {
      return this.IsChecked();
      }
      }

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      No problem. At first glance, I thought of a stack overflow error. But the missing ";" will prevent that from being succesfully compiled.

      P C 2 Replies Last reply
      0
      • B Bernhard Hiller

        No problem. At first glance, I thought of a stack overflow error. But the missing ";" will prevent that from being succesfully compiled.

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

        If C#, yes; but maybe it isn't, we don't know. :~

        1 Reply Last reply
        0
        • B Bernhard Hiller

          No problem. At first glance, I thought of a stack overflow error. But the missing ";" will prevent that from being succesfully compiled.

          C Offline
          C Offline
          cansino
          wrote on last edited by
          #4

          Yes, ";" is missing. I fixed it.

          OriginalGriffO 1 Reply Last reply
          0
          • C cansino

            Yes, ";" is missing. I fixed it.

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            Why? Just delete the code - don't try to fix it! :-D

            Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            H 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Why? Just delete the code - don't try to fix it! :-D

              Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

              H Offline
              H Offline
              Henning Dieterichs
              wrote on last edited by
              #6

              Tell the compiler/computer to execute each new "IsChecked" invocation as double as fast as the current "IsChecked" invocation. Since 1 (the time of the first IsChecked) + 1/2 (the time of the second IsChecked) + 1/4 + ... + 1/2^n converges to 2 for n -> Inf, you have the result of "IsChecked" in 2 time units ;) But Achilles wishes from Zeus, who executes every wish, that his wish mustn't come true and the world crashes... (that was an insider from the same book)

              If you find spelling- or grammer-mistakes, please let me know, so that I can correct them (at least for me) - english is not my first language...

              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