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.
  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

    This is kind of thing I never met while working online - my work involves payments of students to school, school to student/teacher...You probably are talking about some more complicated business actions...

    N Offline
    N Offline
    Nagy Vilmos
    wrote on last edited by
    #19

    Not at all, even with simple retail banking you can have someone take on your debts. It is quite common in finance [and sneekily expensive] to consolidate all your debts. The new lender becomes the debtor for the original debt and takes on all the liabilities therein, you then get a liability to them. In a much simpler scenario, kid goes FUBAR with the credit card and Dad steps in, again, and takes on the liability by paying it. In this scenario, there is no legal transfer of liability because the original debt has been cleared, however Dad may well hold a nominal liability to the child as in "Dad, can I get a new phone?", "Straight after you pay me the £5k you cost me!" :-D

    Kornfeld Eliyahu PeterK 1 Reply Last reply
    0
    • N Nagy Vilmos

      Not at all, even with simple retail banking you can have someone take on your debts. It is quite common in finance [and sneekily expensive] to consolidate all your debts. The new lender becomes the debtor for the original debt and takes on all the liabilities therein, you then get a liability to them. In a much simpler scenario, kid goes FUBAR with the credit card and Dad steps in, again, and takes on the liability by paying it. In this scenario, there is no legal transfer of liability because the original debt has been cleared, however Dad may well hold a nominal liability to the child as in "Dad, can I get a new phone?", "Straight after you pay me the £5k you cost me!" :-D

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #20

      You are taking about something else...It isn't transferring an amount of money with a negative sign, but take over the responsibility of a debt - I wasn't talking of such complicated thing, I merely asked devenv.exe to pass the money to me - he does not understand it anyway... :-D

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      N 1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        You are taking about something else...It isn't transferring an amount of money with a negative sign, but take over the responsibility of a debt - I wasn't talking of such complicated thing, I merely asked devenv.exe to pass the money to me - he does not understand it anyway... :-D

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #21

        Every transaction is transfer of liability. The money in your bank account is a debt [the bank owes you], so when you pay in money, you are giving them a debt [negative value] :)

        1 Reply Last reply
        0
        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

          I understand from Nagy that there still options of negative - I just weren't in that part of the town :-D

          B Offline
          B Offline
          Bergholt Stuttley Johnson
          wrote on last edited by
          #22

          think of this way, if I owe £1 billion but pay off the interest on time then this is a big earner for the financial institution, so big that others will try and get me to move to them, this is why if I owe billions I can get a better interest rate than if I only owe a few 100

          1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            It is technically impossible to transfer a debt...There are good sides of the bank system too...

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #23

            Err no it isn't. This is how debt collection companies work in a lot of cases.

            1 Reply Last reply
            0
            • 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
                                          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