I have the following code:
XmlParaApi = xml;
which passes a string variable (xml) to a global string variable (XmlParaApi). Until then all this code is in an Api, since my problem is with the code below:
string XmlApi = XmlApi.XmlParaApi;
The problem occurs because I have two functions occur simultaneously, but I need the second code to wait for the variable (XmlParaApi) to be ready to be used, I have seen that there is a way to do it for "wait", but I can not can someone help?