Tuesday, February 27, 2018

Dot Net Tutorial 4 Starting with Array

Why we need Array ?

Instead of defining the multiple variables we can define multiple variables in 1 and we can complete our task easily.

How to define Array in Dot Net ?

Note : In NAV , we only need to provide an integer as dimensions in properties.

Example :


Using this Code we define an array and handle all operation in Array.

Note : Size of Array is constant. We will use collections classes in later blogs where we will can handle this constant size disadvantage in dot net.

How many types of comments are there in Dot Net ?

1. Single Line : It is done with // back Slash.

2. Multiple Line Comment : It is done with /* */.

3. XML Documentation Comment : It is done with triple back slash. /// 

No comments:

Post a Comment