Creative

Anonymous Functions in TypeScript

In this blog we can see what is Anonymous functions in TypeScript . Anonymous Functions in TypeScript : TypeScript anonymous functions are functions that aren’t attached to an identifier, hence they lack a function name. For inline functions, anonymous functions are utilised. When a ...

Creative

C# top 15 Interview Questions

In this blog we can see top 15 interview Questions in C#. 1.What are Properties in C#? A property in C# is a class member that offers a method to read, write, or calculate the value of a private field. It provides a public interface for the access and modification of data held by a [&helli...

Creative

What is Method Overriding in TypeScript

In this typescript tutorial we will discuss about  method overriding in typescript. Method Overriding: A method from the base (or parent) class may be replaced with a method with the same name and signature from the derived (child) class. This procedure is known as method overriding. A ch...

Creative

How to compile a type script file automatically

In this blog we can see how to compile a typescript file automatically in  typescript . Every time a TypeScript file is written, it must be compiled before the.js file can be produced. In order to compile the TypeScript file, we must execute the command in the console each time. The outpu...

Creative

Difference between Transpiler& Compiler in TypeScript

In this blog we will discuss about the differences between compiler & Transpiler in Type script . Compiler : A compiler is any programme that takes source code written in one language and converts it into output code written in another language, usually with a lower level of abstractio...

Creative

How to use readonly keyword in TypeScript

In this blog we can see using of readonly keyword in typescript . Readonly in type script : A feature of the language is the ability to instruct the Typescript compiler to make a property read-only. Yes, that means that once it has been built, you cannot change its worth. A read-only prope...

Creative

Using of Foreach statement in TypeScript

In tis typescript blog we ar3e going to see using of for each statement in typescript.   foreach  in TypeScript : The forEach() method is an array method which is used to execute a function on each item in an array. We can use it with the JavaScript data types like Arrays, Maps, Sets, et...

Creative

Logical Operators in TypeScript

In this blog we can explore that Logical  Operators in Typescript . Logical Operators : Typescript logical operators are used to perform logical operations on the operands. There are three logical operators as shown in the following: Logical AND (&&) : The operator expression retu...

Creative

How to convert date to string in TypeScript

In this blog we can see how to convert date to string using type script . The Date object is the basis of TypeScript’s date and time functionality. If no arguments are passed to its function Object() { [native code] }, it will contain the user’s computer’s current date an...

Creative

Top10 interview questions in typescript

In this blog we will see some of the type script interview Questions in type script. 1. What is undefined in TypeScript? A variable is given the value of undefined when it is declared but not initialised. On its own, it is not particularly beneficial. If a variable has been declared but no...