Sunday, 12 February 2017
1. Var and/vs Dynamic
With Var keyword properties / Methods /Operators etc are resolve at compile time.
Var keyword is static typed and type cannot be change,Once you have assigned the type to var.
var i = "abc";
i = 1 ; //you cannot assign it integer value once it has been marked as string
With Dynamic keyword properties / Methods /Operators etc are resolve at runtime.
type can be change...
Sunday, 29 January 2017
What are Func, Predicate, Action delegates with Examples ? #AspNetInterviewQuestionsSeries
02:07 Unknown

To learn Delegate you guys can refer my previous article. In this article we will learn about what are Func, Predicate and Action Delegate.
Keeping the power of delegates in the mind .Net Framework has introduced the predefined delegates which can be useful for a developer....
Friday, 27 January 2017
What are Delegates ? When and why we should use Delegates in C# with example ? #AspNetInterviewQuestionsSeries
05:46 Unknown
Delegates :
Delegate word in English defines that entrust (a task or responsibility) to another person.Same concept is follows in C# with some additional properties.
Delegates Overview :
Delegates have the following properties:
Delegates are similar to C++ function pointers, but are type safe.
Delegates allow methods to be passed as parameters.
Delegates can be used to define...
Thursday, 26 January 2017
How to acess INTERNAL types and members into another assembly ? #AspNetInterviewQuestionsSeries
00:31 Unknown

Lets learn about INTERNAL keyword in C#. Basically INTERNAL keyword is an access modifier which ensures that types and members within the same assembly.
But is there any way we can access the INTERNAL type and members from another...
Saturday, 21 January 2017
How to implement only few signature of an Interface ? #AspNetInterviewQuestionsSeries
04:08 Unknown
lets make this question situational :) .An interviewer can ask you like this :
Lets suppose i am having an Interface and this Interface consisting five methods signatures.This Interface is already being consumed by our thousand of customer and now new customer came and asked that we need only three method inside that. what will you do to resolve this situation or...
Friday, 20 January 2017
How you can limit a class to create only two instances ? #AspNetInterviewQuestionsSeries
22:34 Unknown
How you can limit a class to create only two(n) instances ?
This is one of my favorite question in an interview.So before watching the answer take a minute and think how you can create a such class .. tough ? Ahan its very easy.
Answer : The basic idea is create a static property and increment that in constructor every time you are creating an object of that class. And throw an exception...
Sunday, 17 January 2016
Angular.js for ASP.NET MVC Developers-Basics (Architecture goals and Components)
04:20 Unknown

Angular.Js architecural goals:
Following is the self explanotry pic :
...
Subscribe to:
Posts (Atom)