Reputation: 3800
While working on a .Net project and SqlDataReader, came to question about difference between:
SqlDataReader
Convert.ToBoolean(reader["Name"])
And:
(bool) (reader["Name"])
Upvotes: 0
Views: 110