[Mono-list] Re: Resource System Proposal

Fergus Henderson fjh@cs.mu.oz.au
Thu, 15 Nov 2001 21:00:50 +1100


On 14-Nov-2001, Robert Deviasse <rdeviasse@hotmail.com> wrote:
> Why not consider an alternative usage that can be implemented portably:
> 	class Hello
> 	{
> 		Delegate _ = System.I18N.GetText ;
> 		public static void Main()
> 		{
> 			System.Console.WriteLine(_("Hello World!"));
> 		}
> 	}
...
> The disadvantage of this approach is that each object needs to
> add one delegate.

Why not `static Delegate _ = ...'?
         ^^^^^^

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.