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. The Lounge
  3. Code Snippet - Money

Code Snippet - Money

Scheduled Pinned Locked Moved The Lounge
csharpquestion
46 Posts 17 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 Joan M

    No programming questions in the lounge!!! no homework!!! ... erm... ok... :laugh: After the first shock, I think something like:

    class Program
    {
    static void Main(string[] args)
    {
    Console.WriteLine("42");
    }
    }

    would do it... :rolleyes: PS: Never before I've written something in C#...

    S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #24

    Hey, Now you are a C# developer too! Welcome to the club, and well done! :)

    J 1 Reply Last reply
    0
    • D devenv exe

      If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

      A Offline
      A Offline
      Amarnath S
      wrote on last edited by
      #25

      devenv.exe wrote:

      C# code snippet that shows/explains how money is useless

      System.Console.WriteLine("how money is useless");

      1 Reply Last reply
      0
      • S Super Lloyd

        Hey, Now you are a C# developer too! Welcome to the club, and well done! :)

        J Offline
        J Offline
        Joan M
        wrote on last edited by
        #26

        Thank you! I'll try to opt for a :bob: MVP and to win any of the contests here... I firmly believe this code will open me doors... Just in case, can I give any possible employer your reference? :rolleyes:

        S 1 Reply Last reply
        0
        • D devenv exe

          If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

          D Offline
          D Offline
          Duncan Edwards Jones
          wrote on last edited by
          #27

          devenv.exe wrote:

          If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

          Open source :)

          S 1 Reply Last reply
          0
          • A Agent__007

            Before starting off with the code, I would first understand the requirement - "How exactly is money useless?" ;)

            M Offline
            M Offline
            Mark_Wallace
            wrote on last edited by
            #28

            Ah, Glasshopper, so you are Amelican...

            A 1 Reply Last reply
            0
            • M Mark_Wallace

              Ah, Glasshopper, so you are Amelican...

              A Offline
              A Offline
              Agent__007
              wrote on last edited by
              #29

              Mark_Wallace wrote:

              Ah, Glasshopper, so you are Amelican...

              Sorry, I didn't follow.

              M 1 Reply Last reply
              0
              • A Agent__007

                Mark_Wallace wrote:

                Ah, Glasshopper, so you are Amelican...

                Sorry, I didn't follow.

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #30

                Well, most of the rest of the world is capable of seeing the uselessness of money.

                L 1 Reply Last reply
                0
                • D devenv exe

                  If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

                  M Offline
                  M Offline
                  Maximilien
                  wrote on last edited by
                  #31

                  ++income--;

                  1 Reply Last reply
                  0
                  • D devenv exe

                    If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

                    B Offline
                    B Offline
                    BillWoodruff
                    wrote on last edited by
                    #32

                    What have you tried so far ?

                    1 Reply Last reply
                    0
                    • J Joan M

                      Thank you! I'll try to opt for a :bob: MVP and to win any of the contests here... I firmly believe this code will open me doors... Just in case, can I give any possible employer your reference? :rolleyes:

                      S Offline
                      S Offline
                      Super Lloyd
                      wrote on last edited by
                      #33

                      Haha, no problem. I can confidently tell them that you have the answer to life and the universe. In C# no less! ;P

                      J 1 Reply Last reply
                      0
                      • D Duncan Edwards Jones

                        devenv.exe wrote:

                        If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

                        Open source :)

                        S Offline
                        S Offline
                        Super Lloyd
                        wrote on last edited by
                        #34

                        Would it be free as in free beer, or free as in freedom? One must know!

                        D 1 Reply Last reply
                        0
                        • D devenv exe

                          If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

                          P Offline
                          P Offline
                          PhilLenoir
                          wrote on last edited by
                          #35

                          public string money_is_useless = "Can't Buy Me Love";

                          1 Reply Last reply
                          0
                          • S Super Lloyd

                            Would it be free as in free beer, or free as in freedom? One must know!

                            D Offline
                            D Offline
                            Duncan Edwards Jones
                            wrote on last edited by
                            #36

                            Free as in Willy :~

                            1 Reply Last reply
                            0
                            • D devenv exe

                              If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

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

                              There you go: Money.isUseless = false;

                              1 Reply Last reply
                              0
                              • D devenv exe

                                If you had to write a C# code snippet that shows/explains how money is useless, what would it be?

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #38
                                1. People with no money are eager for change. 1) People with money are resistent to change. 2) Therefore money == resistence 3) "Resistence is useless." -- The Vogon Guard 4) Ergo, money is useless.
                                1 Reply Last reply
                                0
                                • S Super Lloyd

                                  Haha, no problem. I can confidently tell them that you have the answer to life and the universe. In C# no less! ;P

                                  J Offline
                                  J Offline
                                  Joan M
                                  wrote on last edited by
                                  #39

                                  Thanks for all the fish! :laugh:

                                  1 Reply Last reply
                                  0
                                  • M Mark_Wallace

                                    Well, most of the rest of the world is capable of seeing the uselessness of money.

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

                                    Mark_Wallace wrote:

                                    Well, most of the rest of the world is capable of seeing the uselessness of money.

                                    Ehr, since when? Money has been the way of the world since recorded history. Show me a society without money, proof that it is useless. I'll take the opposite stand, and claim that a complex society could not have emerged without it.

                                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                    M 1 Reply Last reply
                                    0
                                    • L Lost User

                                      Mark_Wallace wrote:

                                      Well, most of the rest of the world is capable of seeing the uselessness of money.

                                      Ehr, since when? Money has been the way of the world since recorded history. Show me a society without money, proof that it is useless. I'll take the opposite stand, and claim that a complex society could not have emerged without it.

                                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                      M Offline
                                      M Offline
                                      Mark_Wallace
                                      wrote on last edited by
                                      #41

                                      Eddy Vluggen wrote:

                                      Show me a society without money

                                      The society of Star Trek Maybe you don't want society to go in that direction.

                                      I wanna be a eunuchs developer! Pass me a bread knife!

                                      L 1 Reply Last reply
                                      0
                                      • M Mark_Wallace

                                        Eddy Vluggen wrote:

                                        Show me a society without money

                                        The society of Star Trek Maybe you don't want society to go in that direction.

                                        I wanna be a eunuchs developer! Pass me a bread knife!

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

                                        Mark_Wallace wrote:

                                        The society of Star Trek

                                        A non-existing society. Good example. I won't slap you with quotes where they reference using money. Even the original series.

                                        Mark_Wallace wrote:

                                        Maybe you don't want society to go in that direction.

                                        There is no society in that direction :laugh:

                                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                        M 1 Reply Last reply
                                        0
                                        • L Lost User

                                          Mark_Wallace wrote:

                                          The society of Star Trek

                                          A non-existing society. Good example. I won't slap you with quotes where they reference using money. Even the original series.

                                          Mark_Wallace wrote:

                                          Maybe you don't want society to go in that direction.

                                          There is no society in that direction :laugh:

                                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                          M Offline
                                          M Offline
                                          Mark_Wallace
                                          wrote on last edited by
                                          #43

                                          Eddy Vluggen wrote:

                                          I won't slap you with quotes where they reference using money. Even the original series.

                                          The only time they use "currency" (not money) is when dealing with obviously inferior species of aliens. So that equates to us, today. We are an obviously inferior species, because we need a system that uses money.

                                          I wanna be a eunuchs developer! Pass me a bread knife!

                                          L 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