Which of the following will correctly declare the EmployeeID variable as a string data type?

Which of the following will correctly declare the EmployeeID variable as a string data type?

Which of the following will correctly declare the EmployeeID variable as a string data type?

A.
string EmployeeID = 123;

B.
string EmployeeID = "123";

C.
var EmployeeID = 123;

D.
var EmployeeID = "123";



Leave a Reply 0

Your email address will not be published. Required fields are marked *