Implementation of differencing algorithm for .NET