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. :D [modified]

:D [modified]

Scheduled Pinned Locked Moved The Weird and The Wonderful
csharpmobilewpfcomdesign
12 Posts 6 Posters 24 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.
  • B Brent Lamborn

    I've been frustrated the last couple of days trying to get multiple files to upload while still updating individual progress bars in a responsive WPF UI. I finished it this moring, and I came up with this oh so satisfying line: fu.ui.UploadFile(fu.file); // ;D I think that might be the coolest and most satisfying line of code I have ever written. :cool: You might see this line in Coding Horrors the next time some other coder runs across it! -- modified at 9:21 Wednesday 1st August, 2007


    "Half this game is ninety percent mental." - Yogi Berra If you can read thank a teacher, if you can read in English, thank a Marine.

    L Offline
    L Offline
    leppie
    wrote on last edited by
    #2

    I had one the other night:

    if (car is Missing) return null;

    (it's valid C#!)

    **

    xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
    New xacc.ide release RSS feed^

    **

    B K 2 Replies Last reply
    0
    • L leppie

      I had one the other night:

      if (car is Missing) return null;

      (it's valid C#!)

      **

      xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
      New xacc.ide release RSS feed^

      **

      B Offline
      B Offline
      Brady Kelly
      wrote on last edited by
      #3

      Missing? I can only find that in the Microsoft.JScript namespace, unless you have your own Missing. If the former, it's very tentatively valid C#.

      L 1 Reply Last reply
      0
      • B Brady Kelly

        Missing? I can only find that in the Microsoft.JScript namespace, unless you have your own Missing. If the former, it's very tentatively valid C#.

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #4

        System.Reflection.Missing

        **

        xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
        New xacc.ide release RSS feed^

        **

        B 1 Reply Last reply
        0
        • L leppie

          System.Reflection.Missing

          **

          xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
          New xacc.ide release RSS feed^

          **

          B Offline
          B Offline
          Brady Kelly
          wrote on last edited by
          #5

          Just another glaring indictment of the perpetual impotence of MSDN indexing, finding only the most obscure occurrence of the Missing class.

          L B D 3 Replies Last reply
          0
          • B Brady Kelly

            Just another glaring indictment of the perpetual impotence of MSDN indexing, finding only the most obscure occurrence of the Missing class.

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #6

            Reflector is faster

            **

            xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
            New xacc.ide release RSS feed^

            **

            1 Reply Last reply
            0
            • B Brady Kelly

              Just another glaring indictment of the perpetual impotence of MSDN indexing, finding only the most obscure occurrence of the Missing class.

              B Offline
              B Offline
              Brent Lamborn
              wrote on last edited by
              #7

              No doubt. I always use Google to search MSDN, not their own search.


              "Half this game is ninety percent mental." - Yogi Berra If you can read thank a teacher, if you can read in English, thank a Marine.

              S 1 Reply Last reply
              0
              • L leppie

                I had one the other night:

                if (car is Missing) return null;

                (it's valid C#!)

                **

                xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
                New xacc.ide release RSS feed^

                **

                K Offline
                K Offline
                KarstenK
                wrote on last edited by
                #8

                else return car; :confused:

                Greetings from Germany

                D 1 Reply Last reply
                0
                • B Brent Lamborn

                  No doubt. I always use Google to search MSDN, not their own search.


                  "Half this game is ninety percent mental." - Yogi Berra If you can read thank a teacher, if you can read in English, thank a Marine.

                  S Offline
                  S Offline
                  StevenWalsh
                  wrote on last edited by
                  #9

                  i didn't know it ws posssible to serach msdn with the built in search function

                  1 Reply Last reply
                  0
                  • B Brady Kelly

                    Just another glaring indictment of the perpetual impotence of MSDN indexing, finding only the most obscure occurrence of the Missing class.

                    D Offline
                    D Offline
                    dojohansen
                    wrote on last edited by
                    #10

                    That makes for a good technical interview question: "In the .NET Framework base class library, what is the Missing class?" Very zen-like, a bit like the missing link...

                    1 Reply Last reply
                    0
                    • K KarstenK

                      else return car; :confused:

                      Greetings from Germany

                      D Offline
                      D Offline
                      dojohansen
                      wrote on last edited by
                      #11

                      else return (Missing)car; :D

                      K 1 Reply Last reply
                      0
                      • D dojohansen

                        else return (Missing)car; :D

                        K Offline
                        K Offline
                        KarstenK
                        wrote on last edited by
                        #12

                        Coding is fun.:laugh::laugh::laugh:

                        Greetings from Germany

                        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