Quick article how to implement generic Singleton. — What is Singleton design pattern? it’s a way to instantiate one and only instance of a class, imagine you want to code a chat room application, and you know that all users should be connected and use the same room, in this case you should have one and only instance of Room class, even if…