אדם לאדם זאב: הבדלים בין גרסאות בדף
תוכן שנמחק תוכן שנוסף
אין תקציר עריכה |
אין תקציר עריכה תגיות: עריכה ממכשיר נייד עריכה דרך האתר הנייד |
||
שורה 1:
static Node<int> CreateLstFromArr(int[] arr)
{
Node<int> start = new Node<int>(arr[0]);
Node<int> last = start;
for (int i = 1; i < arr.Length; i++)
{
last.SetNext(new Node<int>(arr[i]));
last = last.GetNext();
}
return start;
}
|