Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i m new to C# and i had an interview few days ago.
there the interviewer asked me some question which i answered but there were some points he asked me in that questions where i got stucked.
i want to ask that points which will helpful for me and other community members for their interviews..

A. he asked me about static word and i told him. then he asked me tell me a scenario where we can solve a problem only using static thing. cannot solve without that i got stucked.

B. he asked me about sessions and its different types. i answered that and then he asked which type we use in which situations ? i got stucked

C. he asked me about constructor and destructor. i answered about these. then he asked me who call these ? i told these are automatically called when we create object. he asked who ? who call these ? i got stucked.

D. he asked me about Global.asax file. i answered. then he asked me when when the methods of global.asax are called ? i got stucked.


kindly answer these questions for better preparation

What I have tried:

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Posted
Updated 30-May-17 10:30am
Comments
ZurdoDev 30-May-17 15:40pm    
I'm concerned that you say you answered the questions but then could not answer the return questions. My guess is you got the first part of questions wrong.
[no name] 30-May-17 17:35pm    
Hiy Ryan, sorry only a test message
Dave Kreskowiak 30-May-17 16:43pm    
It would appear that you've read "interview question" sheets and articles before. At least, from your answers above, that's the first thing I would think. If you can answer the first question but not the follow up it means you don't know the content with enough depth and I'm going to dig deeper to find out how much you really know.

That's the problem with "interview questions" sheets and articles. They do NOT prepare you to answer any interview questions at all. Answering your questions here isn't going to help you pass the next interview. If the interviewer know what they're doing, question #3 will really show them if you know the stuff or are just regurgitating back answers from a sheet.
UnStable Messi 31-May-17 2:34am    
yes i've read interview sheets before my interview.
May be answering the above questions will not help me in my next interview.if you answer those it can clear my doubts. it will help me in better understanding the things how they work and when to use.i can write those answers.
Dave Kreskowiak 31-May-17 9:55am    
yes i've read interview sheets before my interview.
and it shows, brightly.

May be answering the above questions will not help me in my next interview.
No, it won't. No more than reading interview question sheets helped you in this interview. Anyone just telling you the answers will not help you understand anything at all. You simply don't have the experience to back up the answers with actual knowledge. That only comes with experience and nobody can give you that except yourself.

1 solution

You are getting stuck on pretty basic stuff - and "giving you the answers" to these won't help you for next time as there is absolutely no guarantee that even similar questions will be asked.

And what that means is that you are woefully underprepared to do the job you are interviewing for, and even if we helped you pass the interview it would be unfair on everybody in the long run: you, since you would be found out and "let go" very quickly; the company, since they would have to restart the expensive recruitment process again; and all the other applicants who could have done the job.

So go back to your books, your course notes, your exercises: and learn your subject well before you apply again. It is honestly the only way to guarantee passing and interview!
 
Share this answer
 
Comments
UnStable Messi 31-May-17 2:10am    
i want to clear the things i stucked on. can u please clear those ?
OriginalGriff 31-May-17 2:23am    
No, because it won't help you.
You don't know enough to do the job, and no amount of answers to the basic bits you can parrot back will fix that: you need to study, learn, and above all else practice so that you understand the material. Just solving these doesn't help you pass the next interview because these questions won't come up - totally different questions on the basics will and those will trip you up as well.
Learning from "Interview question" sheets is a waste of your time: they don't - and can't - prepare you for the follow up questions that inevitably follow and that will reveal you to not understand anything about the subject.
Interviewers aren't stupid, and they don't want to employ people who can't do the job: it's an expensive process recruiting someone, and it's not something you want to repeat soon. Learn the subject properly, and you will walk the interview! Keep trying for the "quick cheat route" and you will fail every single one.
UnStable Messi 31-May-17 2:42am    
yeah i know that will not help me but atleast i can clear and understand those few things.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900