So here's my App.config from the client side, but I need to do this with C# code, so can anybody help me? I've tried some ways to do that but still I could not find out how.
<!--<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IInfo" />
      </basicHttpBinding>
   </bindings>
    <client>
      <endpoint address="http://appserver.gwp.ge/CustomerService/Info.svc"
      binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IInfo"
      contract="BillingService.IInfo" name="BasicHttpBinding_IInfo" />
    </client>
  </system.serviceModel>
</configuration>-->
 
    