I have the following code in my class:
public string StrLog {get; set;}
then within the same class, I have the following code:
private string imgData = StrLog;
I get the following error message:
A field initializer cannot reference the non-static field, method or property
It has a problem with:
private string imgData = StrLog;
but not sure how to resolve this.
StrLogisn't created yet. (Gross over simplification)