logo

Crowdly

Browser

Add to Chrome

Основи розробки програмного забезпечення на платформі Microsoft.NET

Looking for Основи розробки програмного забезпечення на платформі Microsoft.NET test answers and solutions? Browse our comprehensive collection of verified answers for Основи розробки програмного забезпечення на платформі Microsoft.NET at do.ipo.kpi.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Що виведе згенерований код?

var list = new[] { "apple", "banana", "grape" };

var query = list.All(s => s.Contains("a") && s.Length > 4);

]]>
0%
100%
0%
0%
View this question

За допомогою якого з нижченаведеного коду можна сформувати дані JSON наступного вигляду:

[

  {

    "Name": "Jason",

    "Age": 25

  },

  {

    "Name": "Nikki",

    "Age": 20

  }

]

33%
67%
View this question

protected override string Serialize(object d) => d.ToString();

Який ризик неправильного переозначення Serialize?

100%
0%
0%
0%
View this question

public bool Handle(Request r)

{ /* ... */ return Next?.Handle(r) ?? true; }

Чим COR відрізняється від Pipeline (middleware)?

0%
0%
0%
0%
View this question
Що виведе згенерований код?

var numbers = new[] { 2, 3, 5 };

var result = numbers.SelectMany(n => Enumerable.Repeat(n, n)).Count();

]]>
0%
0%
0%
0%
View this question

public class DialogWithDI : Dialog

{

private readonly IServiceProvider _sp;

public DialogWithDI(IServiceProvider sp) => _sp = sp;

protected override IButton CreateButton() => _sp.GetRequiredService

();

}

Чим ця реалізація відрізняється від класичної?

0%
0%
0%
0%
View this question
Що виведе згенерований код?

var data = new[] { "aa", "ab", "bb" };

var exists = data.Any(s => s.StartsWith("a") && s.EndsWith("b"));

]]>
0%
100%
0%
0%
View this question

string js = @"{""arr"":[[],[1,2]]}";

int len = JsonDocument.Parse(js).RootElement

           .GetProperty("arr")[1].GetArrayLength();

System.Console.WriteLine(len);

0%
0%
0%
0%
View this question

Учасниками патерну Стан (State) повинні бути

0%
0%
0%
View this question
Встанови відповідність

var letters = "ABCDE"

.Select((c,i)=> new { c, pos=i })

.Where(x=>x.pos%2==0);

]]>
View this question

Want instant access to all verified answers on do.ipo.kpi.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome