After all my search, this is best way to clear elements in the array in type script.
arrayName.length =0
arrayName.length =0
dot net tips, DotNet tips, .Net Tips,Dot Net tips and tricks,Dot Net Solutions, OOPS Concept in C#,SQL Server, LinQ, Ajax, Java script, JQuery, Server Error details, daily .net tips and tricks , DotNet Interview Questions.
|  | 
| Read child nodes from xml string in C# | 
| 
Angular 4 Interview Questions for beginner  - PART 1 | 
| 
1.      
  What is Angular? | 
| 
2.      
  What is Single Page Application? | 
| 
3.      
  What are Components in Angular 4? | 
| 
4.      
  What are Bindings? Different type of bindings in
  Angular 4? | 
| 
5.      
  What are Modules in Angular 4? | 
| 
6.      
  What is CLI? | 
| 
7.      
  What are Directives in Angular 4? | 
| 
8.      
  What is Expression in Angular 4? | 
| 
9.      
  What is the sequence of Angular Life Cycle hooks?
   | 
| 
10.  
  What is the purpose of using package.json in the
  angular project? | 
| 
Angular 4 Interview Questions for beginner  - PART 1 | 
| 
1.      
  What is Angular? | 
| 
Angular 4 is a
  JavaScript framework which helps us to build web applications and apps in
  JavaScript, html, and Typescript, which is a superset of JavaScript.  
Angular provides
  built-in features for animation, http service, and materials which in turn have
  features such as auto-complete, navigation, toolbar, menus, etc.  
The code is written in
  Typescript, which compiles to JavaScript and displays the same in the
  browser. | 
| 
2.      
  What is Single Page Application? | 
|  | 
| 
3.      
  What are Modules in Angular 4? | 
| 
4.      
  What is CLI? | 
| 
5.      
  What are Directives in Angular 4? | 
| 
6.      
  What is Expression in Angular 4? | 
| 
7.      
  What is the sequence of Angular Life Cycle hooks?
   | 
| 
8.      
  What is the purpose of using package.json in the
  angular project? |