Using embedded resources in C# console application
I'm trying to embed an XML file into a C# console application via Right clicking on file -> Build Action -> Embedded Resource.

How do I then access this embedded resource?

    XDocument XMLDoc = XDocument.Load(???);
Using embedded resources in C# console application
===

I'm trying to embed an XML file into a C# console application via Right clicking on file -> Build Action -> Embedded Resource.

How do I then access this embedded resource?

    XDocument XMLDoc = XDocument.Load(???);