Re: New Thread - Pre Screening Questions for a C# developer
- From: MuZZy <tnr@xxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Mar 2006 23:23:21 -0500
I would rather test overall knowledge of OOP and C# and not too much into specifics of particular classes. Like i am using C# for last 4 years and hold a senior developer position but i had to think before i could answer to
2. When doing an Update, which method of the SqlCommand is best to use?
a) ExecuteQuery
b) ExecuteUpdate
c) ExecuteNonQuery <-- correct
d) ExecuteCommand
just because two years ago we created the data object and i never touched low level Sql classes thereafter.
One of my usual questions when i interview candidates is:
object o = null;
if (o.Equals(null)) MessageBox.Show("null");
else MessageBox.Show("not null");
Question is what message will show.
Enormous number of people tend to answer that it will show 'null' :) In realty it will of course give an exception because you can't call a member function of "null".
Also, it's useful to draw a denormalized table (e.g. customer orders which will contain all orders, customer info, prices, etc all in one table) and to ask them to denormalize that table.
Another question is to ask them to design something like watch in terms of OOP - this way you might get a good idea of that person't OOP skills.
So my advise - don't look too much into particular details as class names, function names, sql syntax but rather look at the person's analytical, algorythmical skills and ability to function under stress and pressure.
Hope it helps,
MuZZy
.
- Follow-Ups:
- Re: New Thread - Pre Screening Questions for a C# developer
- From: William Stacey [MVP]
- Re: New Thread - Pre Screening Questions for a C# developer
- References:
- New Thread - Pre Screening Questions for a C# developer
- From: M.Siler
- New Thread - Pre Screening Questions for a C# developer
- Prev by Date: Breakfast Serialization
- Next by Date: Re: How to programmatically invoke Click event of the Button ?
- Previous by thread: Re: New Thread - Pre Screening Questions for a C# developer
- Next by thread: Re: New Thread - Pre Screening Questions for a C# developer
- Index(es):