Hello
I have a question. I have a partial class in two .cs files. One of them is generated by a web service proxy as "reference.cs" and other one i added in order to implement class behaviour. But class scope variables in the second file is not initialized. Some code here:
public partial class ListSelector
{
GorevveIsTakipServisiSoapClient svc = new GorevveIsTakipServisiSoapClient();
string simplevar = string.Empty;
public void kol()
{
//following line generates null exception in sv variable. In addition, simplevar variable seems null too when i check it.
svc.ListPairOfIntStringCompleted += new EventHandler<ListPairOfIntStringCompletedEventArgs>(svc_ListPairOfIntStringCompleted);
}
void svc_ListPairOfIntStringCompleted(object sender, ListPairOfIntStringCompletedEventArgs e)
{
//...
}
}
This is not a problem but just wondering. Thanks!