c# - What is the name of term meaning next approach: A a = new A { Prop1 = a, Prop2 = b }; -


Can you please suggest how to designate the way the object is created properly, where the public authority values Setting up on object creation?

For example,

  SqlCommand command = new SqlCommand {connection = connection, CommandType = CommandType.Text};  

I believe these are called Object Inelijiers ...


Comments