Can we not have a GC.Collect() like this in Dispose, so that if we want our object in the class to be disposed immediately.
public void Dispose()
{
Dispose(true);
GC.SupressFinalize(this);
GC.Collect();
}
I saw some other article in stackoverflow here, but could not get a clear explanation.