Can I inherit from SqlConnection class?

I was wondering if it was possible to create a class that inherits from a SqlConnection class?
PsychoCoderAsked:
Who is Participating?
 
Jaime OlivaresSoftware ArchitectCommented:
no, you cannot, it is a sealed class.
Usually you create a connection or database helper class that contains a SqlConnection object.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.