Class Visual C++ .NET

#include "stdafx.h"
using namespace System;
[AttributeUsageAttribute(AttributeTargets::All)]
public ref class OwnerAttribute : Attribute{
   public:
      property String^ DevOwner;
      property DateTime^ CreationDate;
      OwnerAttribute(){ }
      OwnerAttribute(String^ _DevOwner)
      {
         DevOwner = _DevOwner;
      }
};
[ Owner("Smith")]
ref class C1
{
};
[ Owner(DevOwner="Smith") ]
ref class C2
{
};