jQuery in Action, 3rd edition
The moose likes Other Languages and the fly likes open braces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "open braces" Watch "open braces" New topic

open braces

spars anu

Joined: May 26, 2011
Posts: 11

playerManagementClient.AddPlayerNote(new AddPlayerNoteRequest(new AddPlayerNoteRequestEnvelope

What does this mean?What does this open braces represent?
Matthew Brown

Joined: Apr 06, 2010
Posts: 4543

The braces are C#'s property initialiser syntax. So you're creating a AddPlayerNoteRequestEnvelope object, and initialising some of its properties (PlayerIx and Note) at the same time.
I agree. Here's the link: http://aspose.com/file-tools
subject: open braces
It's not a secret anymore!