Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

Quiz Sharp 5

using System;
using System.Reflection;

class _1E
{
  class _1
  {
  }
}

class _1F
{
  static void Main()
  {
    foreach(Type t in Assembly.GetExecutingAssembly().GetTypes())
    {
      foreach(MemberInfo m in t.GetMembers(BindingFlags.NonPublic))
      {
        if(m.MemberType == MemberTypes.NestedType)
        {
          Console.WriteLine(double.Parse(((Type)m).FullName.Replace("_", "")));
        }
      }
    }
    Console.ReadLine();
  }
}

Cosa scrive sulla console? :-)

Print | posted on giovedì 20 maggio 2004 14:31 | Filed Under [ Quiz Sharp ]

Powered by:
Powered By Subtext Powered By ASP.NET