With this code "VB.Net 2005"
Dim dep as new Department
With dep.AddNewEmployee()
.FirstName = "Mr. A"
.LastName = "B"
If TypeOf {dep.AddNewEmployee()'s instance} is Serializable then
'Do something
End If
end With
in {dep.AddNewEmployee()'s instance}
is there any syntax for this code.
Is it possible?
See Question&Answers more detail:os