c# - How to create unified diff? -


i have 2 multiline strings (in memory, not files). how can calculate unified diff?

one solution save strings temporary files, system call diff -u , capture output, i'd rather in pure .net. happy use nuget package if it's not in standard library.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -