epchris
10/31/2018, 3:31 PMIn particular, when defining extension functions for a class which are relevant for all clients of this class, put them in the same file where the class itself is defined.Why would I ever put extensions for
Foo
in the same file as Foo
? Wouldn’t I just make them normal functions of Foo
?