var myClass = new MyClass(); container.NewBuildUp(myClass);
var myClass = new MyClass(); container.NewBuildUp(myClass, new PropertyOverrides { {"Property1", "Value1"}, {"Property2", "Value2"} });In this example, we are creating an instance of MyClass and then using the NewBuildUp method to override the default values of two of its properties. Overall, the NewBuildUp method is useful for building up objects with required dependencies and custom property values using the Unity package library in C#.