What is the difference between xUnit and NUnit in C#?

What is the difference between xUnit and NUnit in C#?

There are some major differences between xUnit and NUnit:

a. NUnit is more extensible in comparison to xUnit framework. b. Attributes (or annotations) in xUnit are entirely different from those used in the NUnit framework. c. xUnit has a more intelligent mechanism to detect the test methods. d. Tests are cleaner in xUnit due to the usage of the IDisposable interface.

Refer xUnit NUnit comparison for more information on the same.