unmanaged

  1. G

    using statement and SqlClient

    I am unsure about whether to use Using around sqlclient objects, for example the sqlconnection or sqlcommand objects. Both implement IDispose and make use of unmanaged resources but are themselves managed. So should I use Using or just allow them to go out of scope and rely on the GC?
Top Bottom