INJenuity
public interface ICar
{
	string Make { get; set; }
	string Model { get; set; }
	int Year { get; set; }

	void Drive();
}

public class Car : ICar
{
	public string Make { get; set; }
	public string Model { get; set; }
	public int Year { get; set; }

	public void Drive()
	{
	    Console.WriteLine("Vvvvrroooooom!");
	}
}
public class Program
{
	public static void Main(string[] args)
	{
	    Store store = StoreFactory.Create();
	    ICar car = store.Resolve<ICar>();

	    car.Drive();
	}
}
Output
Vvvvrroooooom!
public class OurExampleInstaller : IInjenuityInstaller
{
	public void Install(Store store)
	{
            store.Bind(AllTypes.FromAssembly("ExampleAssemblyName"));
	    store.Bind(AllTypes.FromAssembly("AnotherAssemblyName")
				.Where(type => type.FullName.StartsWith("Example")));
	}
}
public class Program
{
	public static void Main(string[] args)
	{
	    Store store = StoreFactory.Create(new OurExampleInstaller());
            // store initialized and installed with our custom installer and
            // our assemblies already scanned and bound
	}
}
store.Bind<ICar, Car>();
Store store = StoreFactory.Create();
store.EnterConfiguration<ICar>("Year", 2015);
ICar car = store.Resolve<ICar>();
car.Drive();
Console.WriteLine(car.Year);
Output
Vvvvrroooooom!
2015
public enum Fuel { Gasoline, Diesel }

public interface IEngine
{        
	Fuel GetFuel();
}

public class Engine : IEngine
{
	private Fuel _fuel;

	public Engine(Fuel fuel)
	{
	    _fuel = fuel;
	}

	public Fuel GetFuel()
	{
	    return _fuel;
	}
}

public interface ICar
{
	string Make { get; set; }
	string Model { get; set; }
	int Year { get; set; }
	IEngine Engine { get; set; }

	void Drive();
	Fuel GetFuelType();
}

public class Car : ICar
{
	public string Make { get; set; }
	public string Model { get; set; }
	public int Year { get; set; }
	public IEngine Engine { get; set; }

	public Car(IEngine engine)
	{
	    Engine = engine;
	}

	public Fuel GetFuelType()
	{
	    return Engine.GetFuel();
	}

	public void Drive()
	{
	    Console.WriteLine("Vvvvrroooooom! I drive by converting " +
	 					GetFuelType() + " into combustion!");
	}
}
Output
Vvvvrroooooom! I drive by converting Gasoline into combustion!
2012
public abstract class CarOwner
{
	public string Name { get; set; }

	[Inject]
	public abstract ICar GetCar();
}
Store store = StoreFactory.Create();
store.EnterConfiguration<CarOwner>("Name", "Racer Dan");

CarOwner dan = store.Resolve<CarOwner>(); // remember there is no implementation defined!
ICar dansCar = dan.GetCar();

Console.WriteLine(dan.Name + "'s car says:");
dansCar.Drive();
Output
Racer Dan's car says:
Vvvvrroooooom! I drive by converting Gasoline into combustion!
[Singleton]
public class EntityManager
{
	// implementation omitted
}
[POCO]
public interface IPerson
{
	string FirstName { get; set; }
	string LastName { get; set; }
	int Age { get; set; }
	bool IsAlive { get; set; }
}