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. C# doubt

C# doubt

Scheduled Pinned Locked Moved The Lounge
csharp
53 Posts 28 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.
  • P Pete Zahir

    Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

    S Offline
    S Offline
    Sascha Lefevre
    wrote on last edited by
    #8

    I don't doubt C# itself, just some parts of the BCL.

    If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

    P L 2 Replies Last reply
    0
    • P Pete Zahir

      Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

      H Offline
      H Offline
      HobbyProggy
      wrote on last edited by
      #9

      Because reasons.

      Rules for the FOSW ![^]

      if(this.signature != "")
      {
      MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
      }
      else
      {
      MessageBox.Show("404-Signature not found");
      }

      9 1 Reply Last reply
      0
      • D Duncan Edwards Jones

        Squay mmem os pippk* (* These are my own words but I don't see how anyone else will be able to understand them)

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #10

        You're my wife now![^] :D


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        J D 2 Replies Last reply
        0
        • Richard DeemingR Richard Deeming

          You're my wife now![^] :D


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          J Offline
          J Offline
          Johnny J
          wrote on last edited by
          #11

          My very best congratulations to the two of you! :thumbsup:

          Anything that is unrelated to elephants is irrelephant
          Anonymous
          -----
          The problem with quotes on the internet is that you can never tell if they're genuine
          Winston Churchill, 1944
          -----
          I'd just like a chance to prove that money can't make me happy.
          Me, all the time

          1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            You're my wife now![^] :D


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

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

            Ironically that sketch really splits opinion in my household. I am near helpless with laughter while my wife stares at me as if I'm completely insane.

            Richard DeemingR 1 Reply Last reply
            0
            • D Duncan Edwards Jones

              Ironically that sketch really splits opinion in my household. I am near helpless with laughter while my wife stares at me as if I'm completely insane.

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #13

              Is it too late to take her back and swap her? :)


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              1 Reply Last reply
              0
              • S Sascha Lefevre

                I don't doubt C# itself, just some parts of the BCL.

                If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

                P Offline
                P Offline
                Pete Zahir
                wrote on last edited by
                #14

                Why have you delet helpful post and do this

                S 1 Reply Last reply
                0
                • J Johnny J

                  How about woodshop? Can you fix me a birdhouse? :confused:

                  Anything that is unrelated to elephants is irrelephant
                  Anonymous
                  -----
                  The problem with quotes on the internet is that you can never tell if they're genuine
                  Winston Churchill, 1944
                  -----
                  I'd just like a chance to prove that money can't make me happy.
                  Me, all the time

                  E Offline
                  E Offline
                  Eytukan
                  wrote on last edited by
                  #15

                  lol we are here again!

                  Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                  J 1 Reply Last reply
                  0
                  • E Eytukan

                    lol we are here again!

                    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                    J Offline
                    J Offline
                    Johnny J
                    wrote on last edited by
                    #16

                    Where were you before? :confused:

                    Anything that is unrelated to elephants is irrelephant
                    Anonymous
                    -----
                    The problem with quotes on the internet is that you can never tell if they're genuine
                    Winston Churchill, 1944
                    -----
                    I'd just like a chance to prove that money can't make me happy.
                    Me, all the time

                    E 1 Reply Last reply
                    0
                    • P Pete Zahir

                      Why have you delet helpful post and do this

                      S Offline
                      S Offline
                      Sascha Lefevre
                      wrote on last edited by
                      #17

                      I realised I was "helping" you with an assignment which actually was the opposite of helping - because it made thinking on your part unneccessary. Help should be given in a way that pushes the learner into the right direction, lifting confusion, but not presenting the answer right away. Confucius is attributed to have said: Tell me and I forget Show me and I remember Let me do it and I understand. If you have trouble with an assignment, don't ask for the answer. Try to make it clear to yourself why you can't answer it and ask people to help you better understand the assignment so that you can answer it yourself.

                      If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

                      OriginalGriffO R 2 Replies Last reply
                      0
                      • D Duncan Edwards Jones

                        Squay mmem os pippk* (* These are my own words but I don't see how anyone else will be able to understand them)

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

                        Obligatory Dilbert[^]

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                        "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

                        1 Reply Last reply
                        0
                        • S Sascha Lefevre

                          I realised I was "helping" you with an assignment which actually was the opposite of helping - because it made thinking on your part unneccessary. Help should be given in a way that pushes the learner into the right direction, lifting confusion, but not presenting the answer right away. Confucius is attributed to have said: Tell me and I forget Show me and I remember Let me do it and I understand. If you have trouble with an assignment, don't ask for the answer. Try to make it clear to yourself why you can't answer it and ask people to help you better understand the assignment so that you can answer it yourself.

                          If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

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

                          :thumbsup:

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                          "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

                          R 1 Reply Last reply
                          0
                          • J Johnny J

                            Where were you before? :confused:

                            Anything that is unrelated to elephants is irrelephant
                            Anonymous
                            -----
                            The problem with quotes on the internet is that you can never tell if they're genuine
                            Winston Churchill, 1944
                            -----
                            I'd just like a chance to prove that money can't make me happy.
                            Me, all the time

                            E Offline
                            E Offline
                            Eytukan
                            wrote on last edited by
                            #20

                            Here[^] I think the first time ones should be excused & redirected than jumping over them. :~

                            Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                            J 1 Reply Last reply
                            0
                            • P Pete Zahir

                              Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

                              C Offline
                              C Offline
                              Chris Losinger
                              wrote on last edited by
                              #21

                              No

                              image processing toolkits | batch image processing

                              1 Reply Last reply
                              0
                              • E Eytukan

                                Here[^] I think the first time ones should be excused & redirected than jumping over them. :~

                                Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                J Offline
                                J Offline
                                Johnny J
                                wrote on last edited by
                                #22

                                Welcome back! :doh:

                                Anything that is unrelated to elephants is irrelephant
                                Anonymous
                                -----
                                The problem with quotes on the internet is that you can never tell if they're genuine
                                Winston Churchill, 1944
                                -----
                                I'd just like a chance to prove that money can't make me happy.
                                Me, all the time

                                E 1 Reply Last reply
                                0
                                • P Pete Zahir

                                  Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

                                  F Offline
                                  F Offline
                                  Forogar
                                  wrote on last edited by
                                  #23

                                  It's terrible how people just don't want to help you with your homework on this forum. A long time ago I actually used to be a Professor trying to teach Computer Science to small groups of selected, gifted students, so let me explain, in my own words, how to answer this question as I have many times in the past when dealing with similar issues: "I leave this one for my students to answer themselves after class. Hand in your answers by the end of the week and I will assess and awards the appropriate number of points. This will count towards your final grade."

                                  - I would love to change the world, but they won’t give me the source code.

                                  1 Reply Last reply
                                  0
                                  • J Johnny J

                                    Welcome back! :doh:

                                    Anything that is unrelated to elephants is irrelephant
                                    Anonymous
                                    -----
                                    The problem with quotes on the internet is that you can never tell if they're genuine
                                    Winston Churchill, 1944
                                    -----
                                    I'd just like a chance to prove that money can't make me happy.
                                    Me, all the time

                                    E Offline
                                    E Offline
                                    Eytukan
                                    wrote on last edited by
                                    #24

                                    :-\

                                    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                    1 Reply Last reply
                                    0
                                    • P Pete Zahir

                                      Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

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

                                      Think about what the params arguments are doing - then think about why you might not be able to add other keywords. If it helps, you should go and read the documentation to get some hints.

                                      This space for rent

                                      1 Reply Last reply
                                      0
                                      • P Pete Zahir

                                        Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

                                        Mike HankeyM Offline
                                        Mike HankeyM Offline
                                        Mike Hankey
                                        wrote on last edited by
                                        #26

                                        After the params keyword is issued a Zombie Apocalypse is set in motion and only a keen C# developer can issue a certain combination of keywords that will thwart the impending doom.

                                        New version: WinHeist Version 2.2.2 Beta
                                        tomorrow (noun): a mystical land where 99% of all human productivity, motivation and achievement is stored.

                                        1 Reply Last reply
                                        0
                                        • P Pete Zahir

                                          Explain in your own words why you cannot pass additional arguments in a function after using the params keyword.

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

                                          Explain, with your own words or not, why this place calls itself 'The Lounge' and why the people react as they do.

                                          The language is JavaScript. that of Mordor, which I will not utter here
                                          This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                                          "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                                          J 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