Question
Do all objects have curly braces?
Answer
No, there are many different types of objects. This is just one way to create an object. We use curly braces here as an “object initializer”, which basically means that the curly braces are a way for us to create objects using literal notation. It’s a short and concise way to create an instance of an object, while also being extremely clear and intuitive.