Javob= 3
Задание #279
Вопрос:
Quyidagi surov natijasi nimaga teng:
List list = new List() {10,12,-3,14,15,16,27,18,14,18};
var surov = from obj in list
where obj % 3 == 1 && obj % 2 == 1
select obj;
Console.Write("soni" + surov.Count());
Javob= soni0
Задание #280
Вопрос:
Quyidagi surov natijasi nimaga teng:
List list = new List() { 10, 12, -3, 14, 15, 16, 27, 18, 14, 18 };
var surov = from obj in list
where obj % 3 == 0 && obj % 2 == 1
select obj;
Console.Write("soni" + surov.Count());
Javob= soni2
Задание #281
Вопрос:
Quyidagi surov natijasi nimaga teng:
List list = new List() { 10, 12, -3, 14, 15, 16, 27, 18, 14, 18 };
var surov = from obj in list
where obj % 3 == 0 || obj % 4 == 1
select obj;
Console.Write(surov.Count());
Javob= 6
Задание #282
Вопрос:
Quyidagi surov natijasi nimaga teng:
List list = new List() { 10, 12, -3, 14, 15, 16, 27, 18, 14, 18 };
var surov = from obj in list
where obj % 3 == 0 || obj % 4 == 1
where obj-7>0
select obj;
Console.Write(surov.Count());
Javob= 5
Задание #283
Вопрос:
Quyidagi surov natijasi nimaga teng:
List list = new List() { 10, 12, -3, 14, 15, 16, 27, 18, 14, 18 };
var surov = from obj in list
where obj % 3 == 0 || obj % 4 == 1
where obj + 7 > 0
select obj;
Console.Write(surov.Count());
Javob= 6
Задание #284
Вопрос:
Quyidagi surov natijasi nimaga teng:
List list = new List() { 10, 12, 5, 14, 15, 16, 27, 18, 14, 18 };
var surov = from obj in list
where obj % 3 == 0 || obj % 4 == 1
where obj + 2 < 20
select obj;
Console.Write(surov.Count());
Dostları ilə paylaş: |