دنبال کننده ها

۱۳۹۶ مرداد ۲۷, جمعه

C# programming - identify issue in below code

[ad_1]



First question that was asked to me in a face to face interview was



Identify the issue in the code -



public static Fruits

static List<int> fruitCount = new List<int>;

public static void Add(int number)

numberList.Add(number)




P.S - I thought this was a very open question and interviewer wanted to understand my though process. But I was not entirely sure where to start.
May be you guys can help me understand what the interviewer was expecting?




[ad_2]

لینک منبع