Is C# fully object oriented ?
Hi P2Pz,
I would like to know if C# is fully object oriented, cuz some pro programmers told me that it isnt, one of their examples is the data types just like (int, double, bool) that they compare it to java, i didnt understand well their point but my own explaination is like the following:
in java we can use (int) to define an integer variable 'int x;', also i remember something called 'wrapper class' where we can do it like this way 'Integer x = new Integer()', here we can notice a class in 'Integer' where a class means an object, now does 'int x;' in C# equals something like 'Integer x = new Integer()' implicitly ??? am thinking may be as the data types is used all the time it is hard to create it using the standard object creation 'Object obj = new Object()', instead the compiler may be do it for us implicitly just by using any key word like 'int' .
i hope u got my idea, plz dont hesitate to mail me.
akkad
|