2. What are the changes you did require while converting your app from 1.1 to 3.5
3. What are generics? i have list of 5 emps 2 from hyd, 1 from delhi , 2 from chennai ,
write LINQ query to pick only emps from hyd city
4. What are the disadvantages of LINQ
5. Name some abstract classes you have used from .net framework
6. what is include and extend in OOPS.
7. what are extension methods? what are the conditions should an extension method met?
Extension methods are special methods that, while they are not part of a data type, you can call them as though they were part of the data type.
Extension method must be static and it should be placed in a static class.
8. what are indexers?
http://dotnetnotepad.blogspot.com/2010/09/indexers.html
9. what are the four default methods for a class, which come from .net framework?
- Equals
- GetHashCode
- GetType
- ToString
10.what is late binding and early binding?
Early Binding
The name itself describes that compiler knows about what kind of object it is, what are all the methods and properties it contains. As soon as you declared the object, .NET Intellisense will populate its methods and properties on click of the dot button.
Common Examples:
- ComboBox cboItems;
- ListBox lstItems;
Late Binding
The name itself describes that compiler does not know what kind of object it is, what are all the methods and properties it contains. You have to declare it as an object, later you need get the type of the object, methods that are stored in it. Everything will be known at the run time.
Common Examples:
- Object objItems;
- objItems = CreateObject("DLL or Assembly name");
Early Binding vs. Late Binding
Now coming into the picture…
- Application will run faster in Early binding, since no boxing or unboxing are done here.
- Easier to write the code in Early binding, since the intellisense will be automatically populated
- Minimal Errors in Early binding, since the syntax is checked during the compile time itself.
- Late binding would support in all kind of versions, since everything is decided at the run time.
- Minimal Impact of code in future enhancements, if Late Binding is used.
- Performance will be code in early binding.
11.What is message contract (WCF)
12.What are the transport modes in wcf?
13.HOw can you get only emps from hyd from a datatable ? (dt.select(condition))
14.I have data of employees, from which one employee reporting to me, and four other employees
report to that emp, and each of four emps will have team who report to them.
how will you design database tables. can you design this in a single table or you need multiple tables and relations like that...
Ans: Single table can have a empid and managerid(empid of other emp) like that...
Ok, what this mechanism is called , what is the terminology used for this?
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.