Click here to Skip to main content
15,900,258 members

Comments by Member 10413919 (Top 1 by date)

Member 10413919 22-Apr-14 8:45am View    
well, this works fine:
Service1 a = new Service1();
string s = a.GetUserInfo("");
I'm just not sure if this is the right way to do it. All the examples I saw are like this -
Add service reference, and then:
using (Service1Client client = new Service1Client())
{
string u = client.GetUserInfo("");
}