|
.NET interview questions at WIPRO
1.A reader
recently interviewed for C# position at Wipro and sent the
following questions:
2.Difference between directcast and ctype.
3.An example of a ctype and directcast.
4.ctype(123.34,integer) - should it throw an error? Why or
why not?
5.directcast(123.34,integer) - should it throw an error? Why
or why not?
6.Difference between a sub and a function.
7.Explain manifest & metadata.
8.Scope of public/private/friend/protected/protected friend.
9.Different kinds of methods.
10.Difference between imperative and interrogative code.
11.Difference between value and reference type.
12.What are the two kinds of properties.
13.What is the raise event used for?
14.Explain constructor.
15.What is a resource? Provide an example from your recent
project.
16.What is a system lock?
17.Describe ways of cleaning up objects.
18.Where does the dispose method lie and how can it be used
to clean up resources?
19.How can you clean up objects holding resources from
within the code? |