How should I cast in VB.NET? Asked 07 September, 2021 Viewed 1.7K times .net vb.net casting 66 Votes 7 Answers Are all of these equal? Under what circumstances should I choose each over the others? var.ToString() CStr(var) CType(var, String) DirectCast(var, String) EDIT: Suggestion from NotMyself… TryCast(var, String) .net vb.net casting Your reply on this question: Add Reply Cancel 7 Answer Order by Voted Recent Oldest Submit an answer Embed images in Question