Suppose class Book defines properties Title, Author and Year. Use an object initializer to create an object of class Book and initialize its properties.

What will be an ideal response?

```
new Book {Title = "Visual C# How to Program", Author = "Deitel", Year = 2017}
```

Computer Science & Information Technology

You might also like to view...

Which of the following involves trying to make a network system seem like a less appealing target?

A) Executable profiling B) Intrusion deflection C) Intrusion deterrence D) Preemptive blocking

Computer Science & Information Technology

Mind-mapping software mixes graphics and text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology