The moose likes Other Languages and the fly likes open braces Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Other Languages
Reply Bookmark "open braces" Watch "open braces" New topic
Author

open braces

spars anu
Greenhorn

Joined: May 26, 2011
Posts: 11



playerManagementClient.AddPlayerNote(new AddPlayerNoteRequest(new AddPlayerNoteRequestEnvelope

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

Joined: Apr 06, 2010
Posts: 2685

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.
 
IntelliJ Java IDE
 
subject: open braces
 
Threads others viewed
printf method help
what does this mean?
initializing an array of arrays
doubt braces {}
Array and GUI
developer file tools