News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
01 static void Main(string[] args)
02 {
03 ServiceHost host;
04
05 host.Open();
06 Console.Read Line();
07 host.Close()
08 }

You need to create a ServiceHost instance and assign it to the host variable, You also need to instantiate the service host. Which line of code should you insert at line 04?

  1. host = new ServiceHost("MyApplication.DataAccessService");
  2. host = new ServiceHost("MyApplication.DataAccess");
  3. host = new ServiceHost(typeof(IDataAccess));
  4. host = new ServiceHost(typeof(DataAccessService));
Answer: Answer is d
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;