R
R.A.F.
Hi,
From C++ world, i'm used to have a cpp file, where i placed all common
functions that i could need within different projects.
something like my own "API".
i would like to do something similar under C# but if i create a
namespace, automatically i must after create a class, enum or struct for
example.
so what is the best method, to do something like i did under C++,
without creating class or something similar ?
for example, i had in the past, functions for getting current working
directory, if file exists, functions to resize all controls, and so on...
i do not want to tide them to only 1 *.cs file... i would prefer to
store them in a namespace.
thanks a lot,
RAF
From C++ world, i'm used to have a cpp file, where i placed all common
functions that i could need within different projects.
something like my own "API".
i would like to do something similar under C# but if i create a
namespace, automatically i must after create a class, enum or struct for
example.
so what is the best method, to do something like i did under C++,
without creating class or something similar ?
for example, i had in the past, functions for getting current working
directory, if file exists, functions to resize all controls, and so on...
i do not want to tide them to only 1 *.cs file... i would prefer to
store them in a namespace.
thanks a lot,
RAF