I have two methods in a static class as follows
static class GetSingleObject
static void GetConnectionToOracle()
//ConnectionString to connect for oracle
static void GetConnectionToSqlserver()
//ConnectionString to connect for Sqlserver
if i say GetSingleObject.GetConnectionToOracle() , it will returns OracleConnection
and if say GetSingleObject.GetConnectionToSqlserver(), it will returns sqlconnection
I would like to know the following.
1) Is the single object of GetSingleObject Class will return two connection strings
or it will internally creates two object for GetSingleObject Class.
2) Is every static method in the staic class going to contain its own memory
or only the memory will be created to Static class ?