Delegates are one of the most used features of C#. It allows you to pass a function as of function pointer. It is kind of same as function pointer of C++. Put simply, delegates are the same as a function pointer of C ++. It refers to another function. As noted in Microsoft official documentation: … Continue reading C# Basics: Delegates
Month: April 2019
Simplest way to share data between two unrelated Components in Angular
In Angular, it is essential to know how components communicate with each other. If you use a component inside another component, they create a parent child relationship. In such a scenario, parent and child components communicate to each other in following ways: @Input() @Output() Temp Ref Variable ViewChild and ContentChild You can learn in detail … Continue reading Simplest way to share data between two unrelated Components in Angular
Type of Undeclared Variable in JavaScript: What is it?
Have you ever thought, what is type of undeclared variable in JavaScript? I know, the first thing that might come to mind is: how can an undeclared variable have a type? Yes, in JavaScript it is possible. To understand it, let us start with understanding types in JavaScript. There are seven built in types in JavaScript. … Continue reading Type of Undeclared Variable in JavaScript: What is it?