Quantcast
Channel: Questions in topic: "class instance"
Viewing all articles
Browse latest Browse all 131

Refering to a Class without it initialization

$
0
0
Hello guys I'm very sorry for that silly question but I seriously dont understand how it works in C#, but I realy like this feature to implement. There are few freameworks like for example Facebook plugin or uLink server which allow you in any new script just write: SomeClassName.SomeMethod(args); without doing firts of all SomeClassName myClass = new SomeClassName(); myClass.SomeMethod(args) for example in Facebook plugin it starts directly from FB.init() or in uLink u can call uLink.Login(args) but where is initialization? where is Class myClass = new Class()? how do they start refering to "Class" it self without making it instance? Could you please explain to me that? and sorry if my question sounds very silly

Viewing all articles
Browse latest Browse all 131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>