Monday, April 9, 2018

HCL

1. Can we write generic method without generic class?
Ans : Yes

2. In which case catch/finally will not executed?
Ans: Infinite loop.

3. How method overloading will in typescript?
Ans https://www.bennadel.com/blog/3339-using-method-and-function-overloading-in-typescript.htm
4. What is partial method and what is the use ?
5. How to restrict a generic class taking only values type?
Ans :

public class GenericType where T:struct 
{
}
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/generics/constraints-on-type-parameters

6. MVC application life cycle.
7. How view state id will maintain in ASP .Net
8. What is ahead of time in angular 2?
9. What is live,binding and delegate in jquery?
Ans:
http://elijahmanor.com/differences-between-jquery-bind-vs-live-vs-delegate-vs-on/

No comments:

Followers

Link