0
c# and assemblyinfo.cs
i want to understand relation between xml and c# in c# console application my knowledge is elementary how we can see this mess i want to understand relation between xml and c# in c# console application my knowledge is elementary how we can see this message in console <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>
3 Réponses
0
What do you want to do ? Read a xml file and show thw output via Console.WriteLine ?
0
I want to know assemblyinfo.cs. cs window is used for what
0
Assemblyinfo contains all the information about the assembly.
for example Name and Version.
When you want to show the version of your assembly in the main window, you can use the assembly object and show it. Then the version is requested on run time.
In visual studio you can find it in the menu Project, <application name> properties, button assembly information. Here you can change this information if you want to.
https://kencenerelli.wordpress.com/2015/09/26/understanding-the-visual-studio-assemblyinfo-class/
https://code.sololearn.com/cd2f759uaDuU
I use version and name
and also GetExecutingAssembly().Location which gives the path of the requested assembly.
Assembly.GetExecutingAssembly().Location
The assembly type is in system.reflection