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. General Programming
  3. C#
  4. Are these hard C# interview questions? Really?? [modified]

Are these hard C# interview questions? Really?? [modified]

Scheduled Pinned Locked Moved C#
csharpquestionjavawinformsgame-dev
16 Posts 8 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.
  • E Offline
    E Offline
    ewan
    wrote on last edited by
    #1

    Hi All I've been doing interviews for a large multi national company for a number of C# contractors to work on a greenfield winforms application. In the last month I've interviewed 28 candidates and only 6 have passed our first technical test which is a 1/2 hour telephone screening. What I'm wondering is if our basic questions are viewed by the community as not fair game. Our basic premise is that if you can't answer four out of five of these basic questions (first ten minutes of interview) there is little point in pursuing things further. 1) What is the base object in C#.NET, its public instance methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods (or 5 if you count Finalize which in general we don't). 2) What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke? - Really asking do you know the difference between synchronous and asynchronous programming. - maybe 20% get this. 3) Give a two minute overview of how the garbage collector works? (Looking for what makes an object eligible for collection, when it runs, concept of generations, implications of having a finalizer etc) - very poor understanding out there - I've had 1 good explanation so far. 4) Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default? - I.e. whats a virtual function and to understand the performance implications of them. - most get the first, nobody so far the second. 5) Is ArrayList/List a thread safe collection? If not how would you make it thread safe? - most get its not, only some really have any idea how to make it thread safe. I just don't think these are hard questions, especially given the daily rates we are offering, but maybe I'm being too hard? What do you think? Whats really strange is we're doing a lot of Java interviews for the server side of things as well and we've seen plenty of great candidates. Maybe there are just lots and lots of very poor C# candidates out there and I'm getting my fair share of them! Cheers!

    modified on Friday, October 2, 2009 6:08 PM

    D D L N P 5 Replies Last reply
    0
    • E ewan

      Hi All I've been doing interviews for a large multi national company for a number of C# contractors to work on a greenfield winforms application. In the last month I've interviewed 28 candidates and only 6 have passed our first technical test which is a 1/2 hour telephone screening. What I'm wondering is if our basic questions are viewed by the community as not fair game. Our basic premise is that if you can't answer four out of five of these basic questions (first ten minutes of interview) there is little point in pursuing things further. 1) What is the base object in C#.NET, its public instance methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods (or 5 if you count Finalize which in general we don't). 2) What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke? - Really asking do you know the difference between synchronous and asynchronous programming. - maybe 20% get this. 3) Give a two minute overview of how the garbage collector works? (Looking for what makes an object eligible for collection, when it runs, concept of generations, implications of having a finalizer etc) - very poor understanding out there - I've had 1 good explanation so far. 4) Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default? - I.e. whats a virtual function and to understand the performance implications of them. - most get the first, nobody so far the second. 5) Is ArrayList/List a thread safe collection? If not how would you make it thread safe? - most get its not, only some really have any idea how to make it thread safe. I just don't think these are hard questions, especially given the daily rates we are offering, but maybe I'm being too hard? What do you think? Whats really strange is we're doing a lot of Java interviews for the server side of things as well and we've seen plenty of great candidates. Maybe there are just lots and lots of very poor C# candidates out there and I'm getting my fair share of them! Cheers!

      modified on Friday, October 2, 2009 6:08 PM

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      ewan wrote:

      1. What is the base object in C#.NET, its public methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods.

      4 methods?? System.Object has 7. Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ReferenceEquals and ToString.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      E 1 Reply Last reply
      0
      • D Dave Kreskowiak

        ewan wrote:

        1. What is the base object in C#.NET, its public methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods.

        4 methods?? System.Object has 7. Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ReferenceEquals and ToString.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        E Offline
        E Offline
        ewan
        wrote on last edited by
        #3

        Fair point - badly phrased in my original post. The question does specify public instance methods not class (static) methods. We don't count Finalize as you can't call it directly but I would accept that. MemberwiseClone certainly wouldn't count as thats protected not public.

        1 Reply Last reply
        0
        • E ewan

          Hi All I've been doing interviews for a large multi national company for a number of C# contractors to work on a greenfield winforms application. In the last month I've interviewed 28 candidates and only 6 have passed our first technical test which is a 1/2 hour telephone screening. What I'm wondering is if our basic questions are viewed by the community as not fair game. Our basic premise is that if you can't answer four out of five of these basic questions (first ten minutes of interview) there is little point in pursuing things further. 1) What is the base object in C#.NET, its public instance methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods (or 5 if you count Finalize which in general we don't). 2) What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke? - Really asking do you know the difference between synchronous and asynchronous programming. - maybe 20% get this. 3) Give a two minute overview of how the garbage collector works? (Looking for what makes an object eligible for collection, when it runs, concept of generations, implications of having a finalizer etc) - very poor understanding out there - I've had 1 good explanation so far. 4) Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default? - I.e. whats a virtual function and to understand the performance implications of them. - most get the first, nobody so far the second. 5) Is ArrayList/List a thread safe collection? If not how would you make it thread safe? - most get its not, only some really have any idea how to make it thread safe. I just don't think these are hard questions, especially given the daily rates we are offering, but maybe I'm being too hard? What do you think? Whats really strange is we're doing a lot of Java interviews for the server side of things as well and we've seen plenty of great candidates. Maybe there are just lots and lots of very poor C# candidates out there and I'm getting my fair share of them! Cheers!

          modified on Friday, October 2, 2009 6:08 PM

          D Offline
          D Offline
          DaveyM69
          wrote on last edited by
          #4

          ewan wrote:

          What is the base object in C#.NET

          I would expect anyone applying to know this - plus the answer is in the question!

          ewan wrote:

          its public methods and when would you use them

          How often do we actually use methods on object? I rarely do as the only use for object nowadays really is where generics are not appropriate, and at the first oportunity before doing anything with it it I unbox it. Not an excuse for not knowing the answer, but makes it a pointless question IMO.

          ewan wrote:

          What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke?

          Fair question

          ewan wrote:

          Give a two minute overview of how the garbage collector works?

          How often do you really need to know this? I don't fully understand it. More important is what is the dispose pattern and when/how should it be implemented.

          ewan wrote:

          Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default?

          Fair question(s)

          ewan wrote:

          Is ArrayList a thread safe collection? If not how would you make it thread safe?

          I'd be asking why you're planning on using an ArrayList instead of List<T> and explaining that thread safety or lack of applies to nearly everything in the framework, and then explain the various methods and costs of trying to acheive it.

          ewan wrote:

          Are these hard C# interview questions? Really??

          This may be better placed in the lounge ;)

          Dave
          Generic BackgroundWorker - My latest article!
          BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
          Why are you using VB6? Do you hate yourself? (Christian Graus)

          E 1 Reply Last reply
          0
          • D DaveyM69

            ewan wrote:

            What is the base object in C#.NET

            I would expect anyone applying to know this - plus the answer is in the question!

            ewan wrote:

            its public methods and when would you use them

            How often do we actually use methods on object? I rarely do as the only use for object nowadays really is where generics are not appropriate, and at the first oportunity before doing anything with it it I unbox it. Not an excuse for not knowing the answer, but makes it a pointless question IMO.

            ewan wrote:

            What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke?

            Fair question

            ewan wrote:

            Give a two minute overview of how the garbage collector works?

            How often do you really need to know this? I don't fully understand it. More important is what is the dispose pattern and when/how should it be implemented.

            ewan wrote:

            Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default?

            Fair question(s)

            ewan wrote:

            Is ArrayList a thread safe collection? If not how would you make it thread safe?

            I'd be asking why you're planning on using an ArrayList instead of List<T> and explaining that thread safety or lack of applies to nearly everything in the framework, and then explain the various methods and costs of trying to acheive it.

            ewan wrote:

            Are these hard C# interview questions? Really??

            This may be better placed in the lounge ;)

            Dave
            Generic BackgroundWorker - My latest article!
            BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
            Why are you using VB6? Do you hate yourself? (Christian Graus)

            E Offline
            E Offline
            ewan
            wrote on last edited by
            #5

            Thanks - interesting points. People have commented at work on if asking about public methods on object is useful. I don't think knowing all 4 (or 5!) is necessary I agree but when to use them is absolutely imperative. If you don't know when to override Equals for example you can't have done much C# - well imho. I might rephrase this going forward. We ask about the garbage collector precisely because we want them to talk about Finalize vs Dispose and how the dispose pattern is connected to garbage collection (GC.SuppressFinalize etc). We also feel for the types of applications we use which often require a lot of memory analysis to detect memory not being freed it is imperative to know whats going on in the GC. If you'd have answered my ArrayList like that you'd come straight in for second round!! ArrayList question does indeed go two ways - one is why is List better than ArrayList. Second goes down into the threading route of what can and can't you lock on, alternatives to plain lock etc. It depends on the candidate. Yeah - I post here very rarely so apologies if this is in the wrong place!

            P 1 Reply Last reply
            0
            • E ewan

              Hi All I've been doing interviews for a large multi national company for a number of C# contractors to work on a greenfield winforms application. In the last month I've interviewed 28 candidates and only 6 have passed our first technical test which is a 1/2 hour telephone screening. What I'm wondering is if our basic questions are viewed by the community as not fair game. Our basic premise is that if you can't answer four out of five of these basic questions (first ten minutes of interview) there is little point in pursuing things further. 1) What is the base object in C#.NET, its public instance methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods (or 5 if you count Finalize which in general we don't). 2) What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke? - Really asking do you know the difference between synchronous and asynchronous programming. - maybe 20% get this. 3) Give a two minute overview of how the garbage collector works? (Looking for what makes an object eligible for collection, when it runs, concept of generations, implications of having a finalizer etc) - very poor understanding out there - I've had 1 good explanation so far. 4) Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default? - I.e. whats a virtual function and to understand the performance implications of them. - most get the first, nobody so far the second. 5) Is ArrayList/List a thread safe collection? If not how would you make it thread safe? - most get its not, only some really have any idea how to make it thread safe. I just don't think these are hard questions, especially given the daily rates we are offering, but maybe I'm being too hard? What do you think? Whats really strange is we're doing a lot of Java interviews for the server side of things as well and we've seen plenty of great candidates. Maybe there are just lots and lots of very poor C# candidates out there and I'm getting my fair share of them! Cheers!

              modified on Friday, October 2, 2009 6:08 PM

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

              They don't seem too hard to me, I'd probably need much more time to explain GC though But ArrayList? I'd rather not even acknowledge its existence.. Shouldn't you also ask about starting a new thread vs threadpool and what else the threadpool is used for? Or something like: give a short list of at least 5 synchronization primitives available in C#

              E 1 Reply Last reply
              0
              • L Lost User

                They don't seem too hard to me, I'd probably need much more time to explain GC though But ArrayList? I'd rather not even acknowledge its existence.. Shouldn't you also ask about starting a new thread vs threadpool and what else the threadpool is used for? Or something like: give a short list of at least 5 synchronization primitives available in C#

                E Offline
                E Offline
                ewan
                wrote on last edited by
                #7

                Thanks for your reply. Absolutely - there are a lot more where they came from! We have specific questions around all of the things you mention. Just to be clear though the point of my post was however not to ask for more questions but rather to ask are these unfair or unrealistic things to expect someone to know who wants $600+ a day?

                L 1 Reply Last reply
                0
                • E ewan

                  Thanks for your reply. Absolutely - there are a lot more where they came from! We have specific questions around all of the things you mention. Just to be clear though the point of my post was however not to ask for more questions but rather to ask are these unfair or unrealistic things to expect someone to know who wants $600+ a day?

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

                  Oh, yea, sorry :) How much is $600/day these days ? Is that considered to be a lot?

                  E 1 Reply Last reply
                  0
                  • L Lost User

                    Oh, yea, sorry :) How much is $600/day these days ? Is that considered to be a lot?

                    E Offline
                    E Offline
                    ewan
                    wrote on last edited by
                    #9

                    Translated to yearly salary that's about $150,000 which I don't think is exactly bad?

                    L 1 Reply Last reply
                    0
                    • E ewan

                      Hi All I've been doing interviews for a large multi national company for a number of C# contractors to work on a greenfield winforms application. In the last month I've interviewed 28 candidates and only 6 have passed our first technical test which is a 1/2 hour telephone screening. What I'm wondering is if our basic questions are viewed by the community as not fair game. Our basic premise is that if you can't answer four out of five of these basic questions (first ten minutes of interview) there is little point in pursuing things further. 1) What is the base object in C#.NET, its public instance methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods (or 5 if you count Finalize which in general we don't). 2) What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke? - Really asking do you know the difference between synchronous and asynchronous programming. - maybe 20% get this. 3) Give a two minute overview of how the garbage collector works? (Looking for what makes an object eligible for collection, when it runs, concept of generations, implications of having a finalizer etc) - very poor understanding out there - I've had 1 good explanation so far. 4) Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default? - I.e. whats a virtual function and to understand the performance implications of them. - most get the first, nobody so far the second. 5) Is ArrayList/List a thread safe collection? If not how would you make it thread safe? - most get its not, only some really have any idea how to make it thread safe. I just don't think these are hard questions, especially given the daily rates we are offering, but maybe I'm being too hard? What do you think? Whats really strange is we're doing a lot of Java interviews for the server side of things as well and we've seen plenty of great candidates. Maybe there are just lots and lots of very poor C# candidates out there and I'm getting my fair share of them! Cheers!

                      modified on Friday, October 2, 2009 6:08 PM

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

                      ewan wrote:

                      1. Give a two minute overview of how the garbage collector works?

                      Do you have a stopwatch? What if they take 1.5 minutes ;P This is discussion more fit for the Lounge than a programming forum.


                      only two letters away from being an asset

                      1 Reply Last reply
                      0
                      • E ewan

                        Translated to yearly salary that's about $150,000 which I don't think is exactly bad?

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

                        I don't know, if you say so, I don't live in the US so I never really bothered to take a look at what a normal salary is there :)

                        1 Reply Last reply
                        0
                        • E ewan

                          Hi All I've been doing interviews for a large multi national company for a number of C# contractors to work on a greenfield winforms application. In the last month I've interviewed 28 candidates and only 6 have passed our first technical test which is a 1/2 hour telephone screening. What I'm wondering is if our basic questions are viewed by the community as not fair game. Our basic premise is that if you can't answer four out of five of these basic questions (first ten minutes of interview) there is little point in pursuing things further. 1) What is the base object in C#.NET, its public instance methods and when would you use them? - I'm astonished how few people get this. I generally forgive forgetting GetHashCode but Equals?! - only maybe 25% of people get 3 out of the 4 methods (or 5 if you count Finalize which in general we don't). 2) What is a delegate? What is the difference between delegate.Invoke and delegate.BeginInvoke? - Really asking do you know the difference between synchronous and asynchronous programming. - maybe 20% get this. 3) Give a two minute overview of how the garbage collector works? (Looking for what makes an object eligible for collection, when it runs, concept of generations, implications of having a finalizer etc) - very poor understanding out there - I've had 1 good explanation so far. 4) Explain the OO concept of polymorphism and how you can take advantage of it in C#? Why do you think Microsoft didn't make all methods virtual by default? - I.e. whats a virtual function and to understand the performance implications of them. - most get the first, nobody so far the second. 5) Is ArrayList/List a thread safe collection? If not how would you make it thread safe? - most get its not, only some really have any idea how to make it thread safe. I just don't think these are hard questions, especially given the daily rates we are offering, but maybe I'm being too hard? What do you think? Whats really strange is we're doing a lot of Java interviews for the server side of things as well and we've seen plenty of great candidates. Maybe there are just lots and lots of very poor C# candidates out there and I'm getting my fair share of them! Cheers!

                          modified on Friday, October 2, 2009 6:08 PM

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

                          Some of that is like asking a race car driver what compound his tires are made of or the viscosity of his oil. Sure, some may know it, but it won't be an indication of how well he can drive. Plus, some may memorize the answers in order to make up for a deficiency of driving skill. First, see if the candidate can drive, then try to determine the depth of his knowledge. 1) A fairly pointless question. Object, but I never think about its members, I only override them when necessary -- so at most I might say ToString. 2) Not too bad a question. I use delegates, but I don't recall ever using Invoke or BeginInvoke on them. If you want to ask about synchronous/asynchronous, then just ask. 3) I certainly couldn't fill two minutes with that, because I just don't need to know, that's the whole point of the GC. 4) Polymorphism is a good topic, but pondering some of Microsoft's decisions is best left to others. :~ 5) Right, they're not, but there's nothing I can do about it; all I can do is make my classes thread-safe -- when needed.

                          E D 2 Replies Last reply
                          0
                          • E ewan

                            Thanks - interesting points. People have commented at work on if asking about public methods on object is useful. I don't think knowing all 4 (or 5!) is necessary I agree but when to use them is absolutely imperative. If you don't know when to override Equals for example you can't have done much C# - well imho. I might rephrase this going forward. We ask about the garbage collector precisely because we want them to talk about Finalize vs Dispose and how the dispose pattern is connected to garbage collection (GC.SuppressFinalize etc). We also feel for the types of applications we use which often require a lot of memory analysis to detect memory not being freed it is imperative to know whats going on in the GC. If you'd have answered my ArrayList like that you'd come straight in for second round!! ArrayList question does indeed go two ways - one is why is List better than ArrayList. Second goes down into the threading route of what can and can't you lock on, alternatives to plain lock etc. It depends on the candidate. Yeah - I post here very rarely so apologies if this is in the wrong place!

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

                            ewan wrote:

                            we want them to talk about Finalize vs Dispose

                            Then ask them to.

                            1 Reply Last reply
                            0
                            • P PIEBALDconsult

                              Some of that is like asking a race car driver what compound his tires are made of or the viscosity of his oil. Sure, some may know it, but it won't be an indication of how well he can drive. Plus, some may memorize the answers in order to make up for a deficiency of driving skill. First, see if the candidate can drive, then try to determine the depth of his knowledge. 1) A fairly pointless question. Object, but I never think about its members, I only override them when necessary -- so at most I might say ToString. 2) Not too bad a question. I use delegates, but I don't recall ever using Invoke or BeginInvoke on them. If you want to ask about synchronous/asynchronous, then just ask. 3) I certainly couldn't fill two minutes with that, because I just don't need to know, that's the whole point of the GC. 4) Polymorphism is a good topic, but pondering some of Microsoft's decisions is best left to others. :~ 5) Right, they're not, but there's nothing I can do about it; all I can do is make my classes thread-safe -- when needed.

                              E Offline
                              E Offline
                              ewan
                              wrote on last edited by
                              #14

                              PIEBALDconsult wrote:

                              1. A fairly pointless question. Object, but I never think about its members, I only override them when necessary -- so at most I might say ToString.

                              Hehe - ok ok. This is clearly a very divisive question! Despite the howls of protest around this so far I still like this as a question. Maybe I'm just evil.... ;)

                              PIEBALDconsult wrote:

                              1. Not too bad a question. I use delegates, but I don't recall ever using Invoke or BeginInvoke on them. If you want to ask about synchronous/asynchronous, then just ask.

                              I agree we could ask directly something along the lines of how would you run a delegate asynchronously but really its just the same question posed another way. I suspect you have used Invoke even if you don't realise it :)

                              PIEBALDconsult wrote:

                              1. I certainly couldn't fill two minutes with that, because I just don't need to know, that's the whole point of the GC.

                              I think this is an interesting statement. Maybe you are right and its why so many people struggle with it. I naturally assumed that since I have been asked this at every .NET interview this was a totally standard question. Maybe its specific though to the industry I'm in and the type of application we are generally developing where memory and cpu time are at a premium. Food for thought for me.

                              PIEBALDconsult wrote:

                              1. Right, they're not, but there's nothing I can do about it; all I can do is make my classes thread-safe -- when needed.

                              But the point is you know - a hell of a lot of candidates don't!

                              M 1 Reply Last reply
                              0
                              • E ewan

                                PIEBALDconsult wrote:

                                1. A fairly pointless question. Object, but I never think about its members, I only override them when necessary -- so at most I might say ToString.

                                Hehe - ok ok. This is clearly a very divisive question! Despite the howls of protest around this so far I still like this as a question. Maybe I'm just evil.... ;)

                                PIEBALDconsult wrote:

                                1. Not too bad a question. I use delegates, but I don't recall ever using Invoke or BeginInvoke on them. If you want to ask about synchronous/asynchronous, then just ask.

                                I agree we could ask directly something along the lines of how would you run a delegate asynchronously but really its just the same question posed another way. I suspect you have used Invoke even if you don't realise it :)

                                PIEBALDconsult wrote:

                                1. I certainly couldn't fill two minutes with that, because I just don't need to know, that's the whole point of the GC.

                                I think this is an interesting statement. Maybe you are right and its why so many people struggle with it. I naturally assumed that since I have been asked this at every .NET interview this was a totally standard question. Maybe its specific though to the industry I'm in and the type of application we are generally developing where memory and cpu time are at a premium. Food for thought for me.

                                PIEBALDconsult wrote:

                                1. Right, they're not, but there's nothing I can do about it; all I can do is make my classes thread-safe -- when needed.

                                But the point is you know - a hell of a lot of candidates don't!

                                M Offline
                                M Offline
                                Mycroft Holmes
                                wrote on last edited by
                                #15

                                ewan wrote:

                                Maybe its specific though to the industry

                                I'm curious, what is the industry you are in.

                                Never underestimate the power of human stupidity RAH

                                1 Reply Last reply
                                0
                                • P PIEBALDconsult

                                  Some of that is like asking a race car driver what compound his tires are made of or the viscosity of his oil. Sure, some may know it, but it won't be an indication of how well he can drive. Plus, some may memorize the answers in order to make up for a deficiency of driving skill. First, see if the candidate can drive, then try to determine the depth of his knowledge. 1) A fairly pointless question. Object, but I never think about its members, I only override them when necessary -- so at most I might say ToString. 2) Not too bad a question. I use delegates, but I don't recall ever using Invoke or BeginInvoke on them. If you want to ask about synchronous/asynchronous, then just ask. 3) I certainly couldn't fill two minutes with that, because I just don't need to know, that's the whole point of the GC. 4) Polymorphism is a good topic, but pondering some of Microsoft's decisions is best left to others. :~ 5) Right, they're not, but there's nothing I can do about it; all I can do is make my classes thread-safe -- when needed.

                                  D Offline
                                  D Offline
                                  darkelv
                                  wrote on last edited by
                                  #16

                                  Agree. A fairly large UK bank here been doing the phone question for screening. After a while the candidates know what are the questions to be asked and look for standard answers. Sometimes the job agents even give the candidates the answers. ;)

                                  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