I Just started to evaluate The MS Enterprise Library. They use the following instruct to get instances:
var customerDb =
EnterpriseLibraryContainer.Current.GetInstance<Database>("Customers");
I know GetInstance is the method, but What kind of construct (or struct) <Database> is?
is it some kind of generic?
Yes,
GetInstance<Database>is a call to a generic method, whereDatabaseis the type of the generic parameter for the particular call.