أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
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.