How to get the relative path from a xml

Martin.5597Martin.5597 USMember
edited October 2014 in Visual Studio

Hello,

I´m new at c# and Xamarin and I have made 6 xml files which I added to the project and i dont know how i get the path.
My code to read the Xml looks now like:

private static DS_BMG _dsBMG;

private static DS_BMG dsBMG
{
  get
  {
    if (_dsBMG == null)
    {
      _dsBMG = new DS_BMG();
      _dsBMG.ReadXml(Path+XML_BMG);
    }
    return _dsBMG;
  }
}

and thats why I need the code for Path butIi have no idea how i can do that. I´m working with Visual Studio (iOS)
Can someone help me ?

Sign In or Register to comment.