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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…