Savol №66
Sichqoncha belgisi komponenta ustiga keltirilganida bajarilishi kerak bo'lgan amallar qaysi hodisa
bilan ishlanadi?
Javoblardan birini tanlang:
1) MouseClick
2) MouseLeave
3) MouseHover
4) MouseMove
Savol №67
Quyidagilardan qaysi biri TextBox elementining ScrollBars xossasi qiymati emas?
Javoblardan birini tanlang:
1) Vertical
2) Top
3) Both
4) Horizontal
Savol №68
List numbers = new List() {"16"};
richTextBox2.Text = numbers.Capacity.ToString();
richTextBox2 da qanday qiymat hosil bo'ladi?
Javoblardan birini tanlang:
1) 1
2) 0
3) 2
4) 4
Savol №69
button1 bosilganida labelda hosil bo'ladigan qiymatni aniqlang
delegate bool Message(int x, int y);
private void button1_Click(object sender, EventArgs e)
{
Message mes;
mes = Hello;
label1.Text=mes(4,5)?"Double":"Int";
}
bool Hello(int a, int b) => a-b/a+b==7.75;
Javoblardan birini tanlang:
1) False
2) Int
3) Double
4) True
Savol №70
button1 bosilganida labelda hosil bo'ladigan qiymatni aniqlang
delegate double Message(double x, int y);
private void button1_Click(object sender, EventArgs e)
{
Message mes;
mes = Hello;
label1.Text=mes(4,5).ToString();
}
double Hello(double a, int b) => a-b/a+b;
Javoblardan birini tanlang:
1) Xatolik yuz beradi
2) 7.75
3) 8
4) 5
Savol №71
List numbers = new List();
for (int i = 0; i < 10; i++)
numbers.Add(i);
numbers.ForEach(a => textBox1.Text += (++a).ToString());
Dastur kodi bajarilishi natijasida textBox1 da qanday qiymat hosil bo'ladi?
Javoblardan birini tanlang:
1) 10
2) 45
3) 123456789
4) 12345678910
Do'stlaringiz bilan baham: |