What is going on when prompted to convert from a type to another type?

xiaoxiao2021-03-19  229

I met a question last night, when I was compiling, it always prompts this code.

TNEDITING = New Treenode ()

TNEDTING = Treenode.Parent.Nodes.Add (New Treenode);

I repeatedly used the type in the brackets without forced conversion, but after I checked MSDN, I found that the routines on MSDN were written, so I was confused. Later, I suddenly thought of the type of the waiting for equal sign, I found the program compilation after removing Tdenting.

Through this matter, I found that the programming cannot enter the dead end, and should open our thinking.

转载请注明原文地址:https://www.9cbs.com/read-130201.html

New Post(0)