Get the differences of two files

前端 未结 3 1764
我寻月下人不归
我寻月下人不归 2020-12-22 04:06

In .NET, I need a way to compare two files. I thought of a class, which represents a diff:

public enum DiffEntryState
{
    New,
    Removed,
    Changed
}           


        
3条回答
  •  鱼传尺愫
    2020-12-22 04:16

    There is no built-in functionality.

    So you have to compare the files byte by byte or use a library that does this for you.

提交回复
热议问题