!Dan Vallejo's WebLog!

Visual Studio .NET Developer

May, 2004

  • !Dan Vallejo's WebLog!

    Serial Programming in Whidbey

    • 1 Comments
    I saw Brad's blog on Serial Programming in Whidbey . It made me think about the days when I used to communicate with BBS's on a 2400 baud modem. I saw one of the C# serial demo projects required an LCD display from Crystalfontz . I went ahead and...
  • !Dan Vallejo's WebLog!

    TechEd 2004 - San Diego

    • 3 Comments
    Balmer gave the keynote address to a packed crowd. He brought up the mission of doing more with less. Our industry along with education and healthcare have the chance to change people's lives. Everyone in our field has that opportunity. There are so many...
  • !Dan Vallejo's WebLog!

    Getting an Interface Object

    • 2 Comments
    You have several ways of getting an interface object. The implicit way has the advantage in that the compiler makes sure that the interface is implemented by the class. The disadvantage is that someone reading your code won't know that this is an interface...
  • !Dan Vallejo's WebLog!

    Creating Datatips for Debugging Your Classes

    • 0 Comments
    How do you display the contents of your custom classes. When you hover over a variable in the debugger, it shows you the contents of the variable. How do you do that for your own classes? In the directory C:\Program Files\Microsoft Visual Studio .NET...
  • !Dan Vallejo's WebLog!

    Events versus Delegates

    • 5 Comments
    So what is the difference between event s and delegate s? The reality is that currently they are basically the same. The difference is that the += operator that is used to add a delegate function to an event is thread-safe whereas when using a delegate...
  • !Dan Vallejo's WebLog!

    Implementing Properties on an Interface

    • 2 Comments
    When you implement an interface that has a property. You would think that you wouldn't be able to add additional accessors. Given the IDisplay interface below then class should only be allowed to implement the set accessor. But in reality since properties...
  • !Dan Vallejo's WebLog!

    Explicit Implementation of Multiple Interfaces

    • 0 Comments
    If you have interfaces derived from other interfaces it makes explicit implementation of them a little funny in the class. Notice that in the following code (class TestBar) when you implement IBar that you need to use IFoo even though the class only...
Page 1 of 1 (7 items)