Professional Documents
Culture Documents
Id Task Result Points
Id Task Result Points
NET developer-a
Kandidat: _________________________________
Datum: _______________
NAPOMENA: Odgovor pišete na engleskom jeziku u slobodan prostor ispod svakog pitanja.
Id Task Result
points
1 What types of comments exist in C#?
Answer:
9 What are value types and reference types in C#? Give minimum of two examples each.
Answer:
Value types:
Reference types:
10 In try block if we add return statement whether finally block is executed in C#?
Answer:
12 Having
public sealed class Circle {
private double radius;
public double Calculate(Func<double, double> op) {
return op(radius);
}
}
write code to calculate the circumference of the circle.
Answer:
18 Explain what is a class and give code example for class representing person with first
and last name?
Answer:
19 What is an Interface in C# ?
Answer:
20 Given an int array, write a C# method to total all the values that are even numbers.
Solution: