Skip to content

Name Clashes

Manfred edited this page Jul 29, 2018 · 1 revision

In case of name clashes with other classes in your code base or in 3rd party libraries, use one of the following techniques in C# source files:

  1. use fully qualify names, e.g. var firstName = RimuTec.Faker.Name.NameWithMiddle();. Use this if there are only a couple of occurances.
  2. add using NameFaker = RimuTec.Faker.Name; at the beginning of the file and then var firstName = NameFaker.NameWithMiddle();. Use this option if you have many usages within the source file.
Clone this wiki locally