static void DoSomethingWith(ISomeInterface service) { service.Use(new Person { FirstName = "John", LastName = "Doe", Birthday = new DateTime(1968, 6, 1) }); }