Answers for "array in c# push"

C#
-1

c# push numbers to array

List<int> add_list= new List<int>();
for (int i = 0; i < 400; i++)
{
   add_list.Add(value);
}
Posted by: Guest on March-03-2020
0

push c# array

for (int i = 0; i < myArray.Length; i++)
{
   if(myArray[i] == null)
   {
       myArray[i] = newValue;
       break;
   }
}
Posted by: Guest on October-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language