Looking for Крос-платформне програмування test answers and solutions? Browse our comprehensive collection of verified answers for Крос-платформне програмування at moodle.chnu.edu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
public delegate double DToD (double x);
Дано оголошення класу
public class Three {
public double F (double x) {return x * 2;}
public int F1 (int x) {return x * 2; }}
Вкажіть коректні оголошення примірників делегата:
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )
public enum Profession {
тесля, столяр, водій, вчитель, лікар}
В результаті виконання фрагмента коду
Profession worker = Profession.плотнік;
worker = worker | Profession.столяр |
(Profession.лікар & Profession.учитель);
Console.WriteLine (worker.ToString ());
буде надруковано:
( *** CSharp 3.1 *** )
( *** CSharp 3.1 *** )