ã¢ããªã±ã¼ã·ã§ã³å®è¡æã®å®è¡å¯è½ãã¡ã¤ã«ï¼exeãã¡ã¤ã«ï¼ã®ãã¹ãåå¾ããã«ã¯ã主ã«æ¬¡ã®2éãã®æ¹æ³ãããã Assemblyã¯ã©ã¹ãå©ç¨ãããã¹ã®åå¾ 1ã¤ã¯ã¢ã»ã³ããªæ å ±ãããã¹ãå¾ãæ¹æ³ã ï¼ã¢ã»ã³ããªã«ã¤ãã¦ã¯ãã¤ã³ãµã¤ã .NET Framework 第1åããåç §ï¼ãããã«ã¯ã¾ããAssemblyã¯ã©ã¹ï¼System.Reflectionåå空éï¼ã®GetEntryAssemblyã¡ã½ããã«ãããã¨ã³ããªã»ãã¤ã³ããå«ãã¢ã»ã³ããªï¼Assemblyãªãã¸ã§ã¯ãï¼ãåå¾ãããå¤ãã®exeãã¡ã¤ã«ã«ããã¦ã¯ãããã¯Mainã¡ã½ãããå«ãã ã¢ã»ã³ããªã¨ãªã£ã¦ããã ããã¦ããã®Assemblyãªãã¸ã§ã¯ãã®Locationããããã£ãããå®è¡ããã¦ããã¢ããªã±ã¼ã·ã§ã³ã®å®å ¨ãã¹ï¼ãã«ãã¹ï¼ãåå¾ãããã¨ãã§ããã Assembly myAssembly = Assembly.GetEn
{{#tags}}- {{label}}
{{/tags}}