+ 1

What is the main difference between Class and stucks?

Hi, Anyone can explain me some details about the Class and Strucks....Advanced Thanks.....

23rd Mar 2017, 7:09 PM
FvM Muhi
FvM Muhi - avatar
1 Respuesta
+ 2
class can contatin func and properties also you can use it for inheritance , you can use public,private protected key word to access class Info , struct is only a data type they cant contain any func they are always public
24th Mar 2017, 10:44 PM
mcicek
mcicek - avatar