Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • How To Set Elements Of An Array Of A Private Type Using Visual Studio Shadows

    Visual Studio uses Publicize to create accessors public for private members and types of a type. But when you try to set elements of a private array of elements of a private type, things get complicated. Imagine this hypothetic class to test: public static class MyClass { private static readonly MyInnerClass...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 01-19-2010, 12:00 AM
    Filed under: Testing, MSDN, Microsoft, .NET, C#, VisualStudio, LINQ, VisualStudio2008, VisualStudio2010, TipsAndTricks, .NET2.0, .NET3.5, .NET4.0
  • Playing With LINQ: Getting Interface Property Implementations

    Today, my friend Nuno was writing some code to get the PropertyInfo s of a class implementation of an interface. Given this interface: public interface ISomeInterface { int IntProperty { get ; set ; } string StringProperty { get ; } void Method(); } and this class: public class SomeClass : ISomeInterface...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 01-27-2010, 12:00 AM
    Filed under: MSDN, Microsoft, .NET, C#, LINQ, TipsAndTricks, .NET3.5, .NET4.0
Page 1 of 1 (2 items)