interface variable declaration – Asp.net
IMytask is the interface which has some method, Mytask inherits IMytask why below one is always recommended way to declare a variable? IMytask xyz = new Mytask(); Can you please help me to understand, What is the use and importance…