There are code examples on MSDN where formatting is broken:
For example, a multiline code can be written in one line => if there is a comment at the beginning of the code, then all the code is displayed as a comment ...
Each such example has to be copied to notepad ++ and corrected by hand.
Tell me, can this somehow be fixed?
I tried to open the standard IE and switch the language, but did not help ...
UPD
Example:
https://msdn.microsoft.com/ru-ru/library/dd460648(v=vs.110).aspx
private Program() { //An aggregate catalog that combines multiple catalogs var catalog = new AggregateCatalog(); //Adds all the parts found in the same assembly as the Program class catalog.Catalogs.Add(new AssemblyCatalog(typeof(Program).Assembly)); //Create the CompositionContainer with the parts in the catalog _container = new CompositionContainer(catalog); //Fill the imports of this object try { this._container.ComposeParts(this); } catch (CompositionException compositionException) { Console.WriteLine(compositionException.ToString()); } }
. - Alexander Petrov