J
Justin
I have set Option Strict On
I also have Enum AssemblyLineStatus As Integer
My question is how come there is no compilation error when I compile
following code?
If CInt(ddlStatus.SelectedItem.Value) = AssemblyLineStatus.Client Then
' do whatever
End If
Shouldn't this cause a compilation error? I know in C#, you have to
explicitly either convert enumation to int or int to enumuation.
Just curious.
Thanks
I also have Enum AssemblyLineStatus As Integer
My question is how come there is no compilation error when I compile
following code?
If CInt(ddlStatus.SelectedItem.Value) = AssemblyLineStatus.Client Then
' do whatever
End If
Shouldn't this cause a compilation error? I know in C#, you have to
explicitly either convert enumation to int or int to enumuation.
Just curious.
Thanks