I use CType when I am converting a variable to another type to be stored in a variable. I use directcast to change a property of variable I need to cast to another type.
Tôi sử dụng CType Khi tôi đang chuyển đổi một biến kiểu khác được lưu trữ trong một biến. Tôi sử dụng DirectCast để thay đổi một thuộc tính của biến tôi cần phải cast một kiểu khác.