using System; using System.Reflection; using System.Runtime.InteropServices; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { GuidAttribute hogeAttribute = (GuidAttribute)Attribute.GetCustomAttribute(Assembly.GetExecutingAssembly(), typeof(GuidAttribute)); Console.WriteLine(hogeAttribute.Value); } } }
0 件のコメント:
コメントを投稿