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. I am not getting this JOB for sure

I am not getting this JOB for sure

Scheduled Pinned Locked Moved The Lounge
csharpcareerc++dotnetperformance
55 Posts 24 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.
  • C CS2011

    I don't think knowing how does .net frame work allocate memory is going to help me writing more efficient program in C#(ya in C++ and all it's different story) because you can not control it any way. If you can i would definitely like to learn that.

    N Offline
    N Offline
    Not Active
    wrote on last edited by
    #25

    Its not a matter of being able to control it or not. It's a matter of understanding how and why it works. If I've encountered a problem I want to know why it was a problem and how the method works so I can avoid the issue in the future or take other mitigation.


    I know the language. I've read a book. - _Madmatt

    1 Reply Last reply
    0
    • C CS2011

      Mark Nischalke wrote:

      Its one thing to know how to use a library. It's another to understand what it does and why.

      It is true. And I knew the answer of the question (it does based on the Metadata and yes I can go in depth) but my point was do we actually need to know that how does .net framework allocate memory and if yes why do we need to know that and how it’s going to help me in write better C# program

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

      CS2011 wrote:

      but my point was do we actually need to know that how does .net framework allocate memory and if yes why do we need to know that and how it’s going to help me in write better C# program

      I think you've misunderstood the point of an interview. It's not just to find out if someone can fulfill the requirements of a given job, it's also to find out about that person in general. Are you the kind of person who likes to know how things work or are you the kind of person that doesn't care, for instance. Answers to those kinds of questions can help determine whether or not an employee is the kind of person who's going to stick around and advance in the company vs. someone who's just there to do a job and could jump-ship at any time. Cheers, Drew.

      C 1 Reply Last reply
      0
      • L Lost User

        CS2011 wrote:

        but my point was do we actually need to know that how does .net framework allocate memory and if yes why do we need to know that and how it’s going to help me in write better C# program

        I think you've misunderstood the point of an interview. It's not just to find out if someone can fulfill the requirements of a given job, it's also to find out about that person in general. Are you the kind of person who likes to know how things work or are you the kind of person that doesn't care, for instance. Answers to those kinds of questions can help determine whether or not an employee is the kind of person who's going to stick around and advance in the company vs. someone who's just there to do a job and could jump-ship at any time. Cheers, Drew.

        C Offline
        C Offline
        CS2011
        wrote on last edited by
        #27

        Drew Stainton wrote:

        Are you the kind of person who likes to know how things work or are you the kind of person that doesn't care, for instance.

        i agree that this might be the case but after a point it was just Irritating for me although I did answer almost all the question they asked about .net framework but like Why CTS and CLS is need and what is the difference between two and many other questions on memory management but this question was limit for me. Any way thanks for your point of view. Highly appreciated.:thumbsup:

        L 1 Reply Last reply
        0
        • C CS2011

          Drew Stainton wrote:

          Are you the kind of person who likes to know how things work or are you the kind of person that doesn't care, for instance.

          i agree that this might be the case but after a point it was just Irritating for me although I did answer almost all the question they asked about .net framework but like Why CTS and CLS is need and what is the difference between two and many other questions on memory management but this question was limit for me. Any way thanks for your point of view. Highly appreciated.:thumbsup:

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

          I agree - they certainly can push it too far sometimes. Cheers, Drew.

          1 Reply Last reply
          0
          • C CS2011

            Went for a job interview today after the basic question on .net Framework he asked some question on memory management. I answered the question like GC and others…Then he went on to ask “How does .net framework allocate memory” and my answer was… If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time). :laugh:

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #29

            So, in your opinion, a .NET developer is not supposed to know that ? I can accept that one does not need to know the internals in detail but they should at least have some basic knowledge of how it works. For that matter why even a C++ or a C developer need to know that. He can say that all I do is to call new or malloc and memory gets allocated for me.

            C 1 Reply Last reply
            0
            • C CS2011

              Went for a job interview today after the basic question on .net Framework he asked some question on memory management. I answered the question like GC and others…Then he went on to ask “How does .net framework allocate memory” and my answer was… If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time). :laugh:

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

              I had an interview at Sony in Wales years ago which was worse. A bit into the interview the interviewer aked is I could document someone else's code (alarm bell at 3) and then told me I'd got a bit of C code to copy a string wrong and when I did the for loop expansion it became clear he didn't write any code and why the previous worker had quit and the code was unfinished. The alarm bell was at 11 and I got my running shoes on.

              Join the cool kids - Come fold with us[^]

              C 1 Reply Last reply
              0
              • R Rama Krishna Vavilala

                So, in your opinion, a .NET developer is not supposed to know that ? I can accept that one does not need to know the internals in detail but they should at least have some basic knowledge of how it works. For that matter why even a C++ or a C developer need to know that. He can say that all I do is to call new or malloc and memory gets allocated for me.

                C Offline
                C Offline
                CS2011
                wrote on last edited by
                #31

                [EDIT]

                Rama Krishna Vavilala wrote:

                have some basic knowledge of how it works

                I don't think that "How does framework allocate memory" falls under basic category and to put it in nutshell you must know the metadata to understand and explain this. For example how does framework decide that it will allocate the memory on heap or stack is based on the metadata which is again based on the type you have declared while writing the program(infarct it's the compiler who generates the instruction and little tweak here will change a lot of things but again...) but when it comes to dependency properties the funda is totally different then normal. and again you need to know many things here eg. why does not framework allocate memory for different instance of class until the default value is changed or how it is doing that. But i really don't think its a falls under basic category at all. [/EDIT} Well i never said a thing about knowing it or not (in facet i know how does frame work allocate memory)only thing i was asking was the question relevant after i have answered all most all the questions on Dispose and GC and other framework related questions

                modified on Saturday, March 5, 2011 1:21 PM

                1 Reply Last reply
                0
                • L Lost User

                  I had an interview at Sony in Wales years ago which was worse. A bit into the interview the interviewer aked is I could document someone else's code (alarm bell at 3) and then told me I'd got a bit of C code to copy a string wrong and when I did the for loop expansion it became clear he didn't write any code and why the previous worker had quit and the code was unfinished. The alarm bell was at 11 and I got my running shoes on.

                  Join the cool kids - Come fold with us[^]

                  C Offline
                  C Offline
                  CS2011
                  wrote on last edited by
                  #32

                  yep...they do ask stupid question some time knowingly to test you and some time they just don't know what the heck they are talking about :thumbsup:

                  L 1 Reply Last reply
                  0
                  • C CS2011

                    yep...they do ask stupid question some time knowingly to test you and some time they just don't know what the heck they are talking about :thumbsup:

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

                    And it was a factory they had a stupid shirt start time even though I wouldn't be doing shifts.

                    Join the cool kids - Come fold with us[^]

                    1 Reply Last reply
                    0
                    • C CS2011

                      Went for a job interview today after the basic question on .net Framework he asked some question on memory management. I answered the question like GC and others…Then he went on to ask “How does .net framework allocate memory” and my answer was… If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time). :laugh:

                      R Offline
                      R Offline
                      realJSOP
                      wrote on last edited by
                      #34

                      CS2011 wrote:

                      “How does .net framework allocate memory”

                      Response: One byte at a time... like when you're eating a bacon sandwich.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                      C M 2 Replies Last reply
                      0
                      • R realJSOP

                        CS2011 wrote:

                        “How does .net framework allocate memory”

                        Response: One byte at a time... like when you're eating a bacon sandwich.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                        C Offline
                        C Offline
                        CS2011
                        wrote on last edited by
                        #35

                        Now i need to get one.....but don't feel like going out....any soluation :confused:

                        1 Reply Last reply
                        0
                        • C CS2011

                          Went for a job interview today after the basic question on .net Framework he asked some question on memory management. I answered the question like GC and others…Then he went on to ask “How does .net framework allocate memory” and my answer was… If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time). :laugh:

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

                          Well, for a StringBuilder it generally starts at sixteen characters and then doubles if it needs more.

                          1 Reply Last reply
                          0
                          • C CS2011

                            Went for a job interview today after the basic question on .net Framework he asked some question on memory management. I answered the question like GC and others…Then he went on to ask “How does .net framework allocate memory” and my answer was… If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time). :laugh:

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #37

                            CS2011 wrote:

                            If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time)

                            Well, most of the time.

                            utf8-cpp

                            1 Reply Last reply
                            0
                            • F fjdiewornncalwe

                              CPallini wrote:

                              Q: “How does .net framework allocate memory?”

                              A: "I don't need to know that in most cases, so .NET has executed Garbage Collection on that piece of allocated information."

                              I wasn't, now I am, then I won't be anymore.

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

                              I don't know right now. I have a heap of other matters to take care of. If you really need to know, I can give you an entire stack of books on the subject.

                              "I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011

                              1 Reply Last reply
                              0
                              • C CS2011

                                Went for a job interview today after the basic question on .net Framework he asked some question on memory management. I answered the question like GC and others…Then he went on to ask “How does .net framework allocate memory” and my answer was… If I wanted to know that I would have learned C or C++ and not C# and If I remember correctly I am here for C# interview and .NET framework does the memory management for me(Well most of the time). :laugh:

                                A Offline
                                A Offline
                                AspDotNetDev
                                wrote on last edited by
                                #39

                                I see from your other posts that you were offered the job, but you are not accepting the offer. Please don't tell me that's just because of this question.

                                [WikiLeaks Cablegate Cables]

                                C 1 Reply Last reply
                                0
                                • C CS2011

                                  Mark Wallace wrote:

                                  They probably only asked the question to weed out candidates who invent stuff to fill gaps in their knowledge, and to help spot bad team players

                                  Yes that might be true but don't you think when the JOB Title say "C# win forms Developer" there should be at least about 10% of question based on C# language my interview lasted for more then one hour and only Question related to c# was "How C# is different from Java". Well i have just received the mail from them and they have offered me the position on senior developer and i really do not understand why...i guess life is unexpected. :) [Edit] and i have decided not to join the organization[/Edit]

                                  modified on Saturday, March 5, 2011 11:13 AM

                                  R Offline
                                  R Offline
                                  Ravi Sant
                                  wrote on last edited by
                                  #40

                                  taking you aside could i ask, which company is it ;) i am looking for change too!

                                  C 1 Reply Last reply
                                  0
                                  • A AspDotNetDev

                                    I see from your other posts that you were offered the job, but you are not accepting the offer. Please don't tell me that's just because of this question.

                                    [WikiLeaks Cablegate Cables]

                                    C Offline
                                    C Offline
                                    CS2011
                                    wrote on last edited by
                                    #41

                                    Nop...not 'coz of the question but their attitude...i didn't felt like working for those guys

                                    A 1 Reply Last reply
                                    0
                                    • R Ravi Sant

                                      taking you aside could i ask, which company is it ;) i am looking for change too!

                                      C Offline
                                      C Offline
                                      CS2011
                                      wrote on last edited by
                                      #42

                                      it's Philips

                                      1 Reply Last reply
                                      0
                                      • C CS2011

                                        Nop...not 'coz of the question but their attitude...i didn't felt like working for those guys

                                        A Offline
                                        A Offline
                                        AspDotNetDev
                                        wrote on last edited by
                                        #43

                                        Yeah, I had that feeling when I interviewed at MySpace. Everybody interviewing me had zero sense of humor. I don't think I saw a single smile while I was there.

                                        [WikiLeaks Cablegate Cables]

                                        1 Reply Last reply
                                        0
                                        • R realJSOP

                                          CS2011 wrote:

                                          “How does .net framework allocate memory”

                                          Response: One byte at a time... like when you're eating a bacon sandwich.

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

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

                                          You know, there are something that just can't be translated to French, and your answer is one of them. just a literal and phonetically (mostly) translation results in not too kid sister friendly!! "une bite à la fois, comme manger un sandwich au jambon" I have a dirty mind.

                                          Watched code never compiles.

                                          G 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