Medium
What the following code displays with the argument:
tab = {21,-5,87,6,1} ;
static void AffichageTab1D(int[] tab){
int longueur = tab.Length;
if(longueur>1){
for(int i=0;i<longueur-1;i++){
Console.Write(tab[i]+";");
}
Console.Write(tab[longueur-1]+".");
}
else{
Console.Write(tab[longueur-1]+".");
}
}
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
7
Create an abstract Vehicle class implementing an ICarbody interface2
Initialize a new Vehiclue object containing a string field in C#4
The PFX Framework:2
An event in an ASP.NET application:2
Write a C# class with a private int age field and getter and setter methods for it.4
Simple inheritance between a parent class and a child class in C#2
What is the new syntax for creating an object in C# 9.0?