In vb.net, if Strict On, this code won't compile:
VB Code:
dim x as string = "" dim num as integer = 1 x = y 'this would be an error
in c#.net, this code WILL compile:
is there a way to make it so that the c# code DOES NOT compile.Code:string x = ""; int num = 1; x = num;




Reply With Quote