Tuesday, July 24, 2007

Interview Questions

- Write a factorial function with C# in ONE LINE.

- What if you pass an array in a C# function change items in that array, and then try to access the content of the array outside of the function. Will be still see the changes the funciton made?
What if you use the out keyword?

(Druing the interview, I confused the out keyword and the ref keyword.)

- What is the new datatype provide in ADO.Net 2.0

- How to code HTML table?
(I can't believe that they are still coding HTML in notepad fashion. And they haven't move to CSS yet. .....)

- How do I effectively display 500 records on a DataGrid with paging , and with optimized both the network traffic and the machine resources?

0 Comments:

Post a Comment

<< Home