| [ Web Proxy ] |
| Viewing: https://riptutorial.com/csharp/topic/738/object-initializers | [Back] [Original] |
[logo rip]
The constructor parentheses can only be omitted if the type being instantiated has a default (parameterless) constructor available.
| Web Proxy Viewer | New URL | Original Page |