Browse by Tags

All Tags » programming » C#   (RSS)
Showing page 1 of 2 (16 total posts)
  • System.Drawing Round-Trip PixelFormat Stability

    If you follow me on twitter, you know that I am no fan of the System.Drawing namespace.  It’s a rush job thinly wrapped layer on top of GDI+.  A great deal is only partially implemented and there is quite a lot of undocumented behavior.  Today I hope to help a bit with this problem by running some tests on System.Drawing.dll ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on October 7, 2009
  • More IEnumerable<T> Fun

    This blog post will be about a practical example of using IEnumerable<T> to make solving common problems easier. Here’s a common abstract problem – walk a tree of nodes visiting each node and possibly perform an operation on a node’s contents.  An concrete version of that is finding one or more files within a file system. The typical ...
    Posted to Steve's Tech Talk (Weblog) by Steve Hawley on June 2, 2009
  • Recursive Lambdas

    At PDC several years ago, I attended the first talk on C# 3.0 by Anders Hejlsberg wherein he demonstrated LINQ and the new lambda syntax for C#.  In the QA, I asked if it there was or could be a syntax for recursive lambda expressions.  The answer was a “hadn’t really considered that". The problem is that lambda expressions in C# ...
    Posted to Steve's Tech Talk (Weblog) by Steve Hawley on May 1, 2009
  • How to determine which language(s) were used to build a .NET assembly

    While in most cases there is no explicit information in an assembly as to which languages it was compiled from, it is possible to make an educated guess as to which languages were used.  This is due to the fact that each different .NET compiler leaves it’s own unique type of fingerprint.  In this article I discuss both my methodology for ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on February 26, 2009
  • Discoveries This Week 01/09/2008

    It’s been a very exciting week.  I actually had more things to post than time would allow me to write about.  I’ll have to save them for next time.   Blog: Daniel Spiewak’s What is Hindley-Milner? (and why is it cool?) Hindley-Milner is the algorithm all these fancy programming languages like F# and Haskell for type ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on January 9, 2009
  • Processes in .NET Part 2 – Performing Actions on Files with Verbs

    In my last post in this series I walked through the basics of launching and managing an external process.  In this post I’ll be discussing simple process interactions via ShellExecute API Verbs.  Using Verbs will allow you to perform simple tasks on specific file types without having to worry about building a complex communication layer ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on December 16, 2008
  • Much ado about nullity

    I read an interesting article this morning by Reinier Zwitserloot on the topic of null subtypes in statically typed languages. The issue is that in Java and C# there are a number of different type modifiers for dealing with the concept of nullity. Because of this even a simple base type can be one of three separate somewhat incompatible ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on October 24, 2008
  • The Future of Programming Languages

    Yesterday, my coworker Lou Franco pointed me to a fantastic talk by Anders Hejlsberg on the future of programming languages.  In this talk Anders argues that the future of programming language development will be focused on three events: the explosion in the use of Dynamic Languages, the creation of many new Domain Specific Languages and the ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on October 15, 2008
  • Avoiding the Dangers of Ambiguously Defined Data-Types

    When you are handed a string, integer, or any value type, can you know what it really represents?  Can you define the range of appropriate behaviors for that data?  Can you tell if it's formatted correctly?   The problem is, in all of these cases, you can't.  You can't be sure of it's meaning, it's format or even how to ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on October 3, 2008
  • A .NET Assembly for Cloning Objects with Arbitrary Field Value Changes: IcManipluator

    After my last post, A Safe and Asynchronous One to Many Stream Copy Through IL and Inheritance”, I ordered a few books and spent some time playing with generating IL. Along the way I’ve developed a library which allows you to make a franken-clone of any object. You pass the method an object to clone along with a hash table of values to change, ...
    Posted to Rick Minerich's Development Wonderland (Weblog) by RickM on July 11, 2008
1 2 Next >