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.

;
public class Calculator
{
public int Add(int x, nty)
{
}
}

Which code segment should you use?

  1. [ServiceContract(Namespace="Arithmetic")]
    public class Calculator
    {
    [Operation Contract(Action="Sum")]
    public int Add(int x, int y)
    {}
    }
  2. [ServiceContract(ConfigurationName="Arithmetic")]
    public class Calculator
    {
    [Operation Contract(Action="Sum")]
    public int Add(int x, int y)
    {}
    }
  3. [ServiceContract(Name="Arithmetic")]
    public class Calculator
    {
    [OperationContract(Name="Sum")]
    public int Add(int x, lnt y)
    {}
    }
  4. [ServiceContract(Name="Arithmetic")]
    public class Calculator
    {
    [OperationContract(ReplyAction="Sum")]
    public int Add(int x, int y)
    {}
    }
Answer: Answer is c
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.

;