adspace


Why do we use 0?

Answer Posted / Shagufta Parveen

In C#, indexes start from 0 by default. This means that if you have an array with 5 elements, the last element's index is 4.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you inherit a class into other class in c#?

996


How to assign Null value to Var?

1066


Which namespaces are necessary to create a localized application?

1143


Why can't we use a static class instead of singleton?

956


What is an abstract class c#?

970


What is expression tree in c#?

999