Create .NET object with properties