Archived
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]+".");
}
}
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Write a C# class with a private int age field and getter and setter methods for it.2
An event in an ASP.NET application:4
The PFX Framework: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?7
Create an abstract Vehicle class implementing an ICarbody interface2
Initialize a new Vehiclue object containing a string field in C#