2017-03-03 05:04:03 +00:00
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
2017-01-29 01:14:17 +00:00
|
|
|
using System;
|
2017-01-26 17:15:30 +00:00
|
|
|
using System.Linq;
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
|
|
namespace ConsoleApplication
|
|
|
|
{
|
|
|
|
public class Program
|
|
|
|
{
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
|
|
|
var thisAssembly = typeof(Program).GetTypeInfo().Assembly;
|
|
|
|
var resources = from resourceName in thisAssembly.GetManifestResourceNames()
|
|
|
|
select resourceName;
|
|
|
|
|
|
|
|
var resourceNames = string.Join(",", resources);
|
|
|
|
Console.WriteLine($"{resources.Count()} Resources Found: {resourceNames}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|