A
Akhil963
Guest
lass JaggedDataCollection
{
ArrayList jaggeddatas = new ArrayList();
public JaggedData this[int index]
{
get => (JaggedData)jaggeddatas[index];
set => jaggeddatas.Insert(index, value);
}
}
public class NumberWithDifference
{
public int Number { get; set; }
public static int[] decimalNumbers = new int[10]{0,1,2,3,4,5,6,7,8,9};
JaggedDataCollection jdc = new JaggedDataCollection();
foreach (var item in jagged.Items)
{
int index = 0;
bool i = true;
int index = 0;
for (int j = 0; j < decimalNumbers.Length; j++)
{
if (jdc[index].Number == decimalNumbers[j])
{
Console.Write(decimalNumbers[j]);
i = false;
if (index < decimalNumbers.Length - 1)
index++;
}
else
{
Console.Write(0);
}
}
}
}
Continue reading...
{
ArrayList jaggeddatas = new ArrayList();
public JaggedData this[int index]
{
get => (JaggedData)jaggeddatas[index];
set => jaggeddatas.Insert(index, value);
}
}
public class NumberWithDifference
{
public int Number { get; set; }
public static int[] decimalNumbers = new int[10]{0,1,2,3,4,5,6,7,8,9};
JaggedDataCollection jdc = new JaggedDataCollection();
foreach (var item in jagged.Items)
{
int index = 0;
bool i = true;
int index = 0;
for (int j = 0; j < decimalNumbers.Length; j++)
{
if (jdc[index].Number == decimalNumbers[j])
{
Console.Write(decimalNumbers[j]);
i = false;
if (index < decimalNumbers.Length - 1)
index++;
}
else
{
Console.Write(0);
}
}
}
}
Continue reading...