Memory usage

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: maark (maark_at_discussions.microsoft.com)
Date: 03/03/05


Date: Thu, 3 Mar 2005 06:49:03 -0800

Platform: WinCE 4.2, C#

Newbie question:
Is there any difference in memory footprint between the 2 following
declarations:

     public static Color FG_COLOR = Color.FromArgb(100,100,30);

     public static Color FgColor
      {
            get {return Color.FromArgb(100,100,30);}
      }

TIA,

Mark



Relevant Pages

  • Re: scope of variables
    ... > Mark L nous racontait que: ... >> If I have VBA code in a Word document which is using a module, ... >> Module declarations, but I think these are not being made available ...
    (microsoft.public.word.vba.general)
  • Re: invalid result resource from a $_SESSION
    ... Debugging 101: ... Did you check that your values for $mark and $num are what you expect? ...
    (comp.lang.php)
  • Re: Memory usage
    ... since the OP asked "Is there any difference in memory footprint between ... the 2 following declarations", I thought my point would be relevant ... Alex Feinman --- ... Visit http://www.opennetcf.org "Daniel Moth" wrote in message ...
    (microsoft.public.dotnet.framework.compactframework)
  • Threading and garbace collection
    ... care of memory deallocation? ... TIA ... Mark ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • [PATCH] char: static functions and integer as NULL pointer fixes in epca.c
    ... Forward declarations were already marked static, ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)