In C#, you can do something like this:
SomeClass someClass = new SomeClass () {
SomeProperty = someValue
};
What is this syntax called?
The most popular names starting with C in the U.S. are currently Charlotte, Camila, Chloe, Claire, Caroline, Carter, Charles, Caleb, Christopher, and Cameron.
Object initializer is the name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With