Here is nice example of what u need: [C# Load XML using XLINQ (LINQ to XML)](http://www.codearsenal.net/2012/07/c-sharp-load-xml-using-xlinq.html)
Score: 14
Date posted: 7/28/2012

A good proof-of-concept, but this strategy gets painful (probably more for a C# programmer than for a C# compiler writer) once you you start creating scopes with things like `using` and `foreach`. For example: `try{foreach (string s in c){yield return s;}}catch(Exception){}`
Score: 11
Date posted: 10/26/2010

Your professor needs smacked for using this as an example to teach try/catch.
Score: 6
Date posted: 12/16/2013

You can deal with the [ADS directly](http://stackoverflow.com/questions/10477059/working-c-sharp-example-writing-reading-ntfs-alternate-data-stream-under-win7) instead of through CMD
Score: 6
Date posted: 2/9/2017

possible duplicate of [c# instantiate class from string](http://stackoverflow.com/questions/2247598/c-sharp-instantiate-class-from-string) EDIT: Specifically, good example with the answer: http://stackoverflow.com/a/2247606/1269654
Score: 5
Date posted: 10/18/2013


1


© 2021 Search Overflow
Contributions licensed under cc by-sa