Definitely homework !! And I have noticed that you have opened 2 other
threads with similar questions... Dangerous ground, here, fella!
1. o is a field of Class X. Where is the multiplication ? I don't see
anything being multiplied.
2. Null is not a datatype. It is the value of an instance. So, any
object that has a value of null can be passed as a parameter when the
object is expected. Why should the compiler complain about this ??
3. No.
4. Why should it give a warning ? Console.Writeline("") is a perfectly
valid statement.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment
You may subscribe to group Feeds using a RSS Feed Reader to stay upto date
using following url
<a href="http://feeds.feedburner.com/DotNetDevelopment">
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---