1 using System
.Reflection
;
2 using System
.Diagnostics
;
5 [assembly
: AssemblyVersion ("2011.04.0.0")]
6 [assembly
: AssemblyFileVersion ("2011.02.0.0")]
10 public static int Main ()
12 Assembly executingAssembly
= Assembly
.GetAssembly (typeof(X
));
13 FileVersionInfo fvi
= FileVersionInfo
.GetVersionInfo (executingAssembly
.Location
);
14 if (fvi
.FileVersion
!= "2011.02.0.0")
17 if (fvi
.ProductVersion
!= "2011.02.0.0")