Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
If you create a static class instead of singleton class then you cannot pass the object of the class as a function parameter.
static class contains only static members but singleton class can contain every type of member.