السلام عليكم ورحمه الله وبركاته
اريد كيفيه التحويل من كلاس الى اوبجيكت والعكس
class player
{
public name as string
pubic age as integer
}
in the button event
dim play1 as player=new player ()
play1.name=" mohamed "
play1.age=22
i need to put this object play1 in colllection and the collection convert the player to object type
so i need to convert the object type to player type when i read the object from the collection
sorry need help i new in vb.net and have experince 3 years in c#
but vb.net is to starnge and have a very strange tecniques