|
-
July 25th, 2007, 04:20 PM
#1
About Main() and some basics
HI,
I need the exact answers for these cz I am confused.
1)is Main() in c# should be public static or only static?
2)by default(if we doesnt specify one) what is the what will be the
access modifier in c# for a method,property,attribute,class/
interface/,assembly.
3)What are the "attributes" that specify an object's state?
4)what is string in c#(both string keyword and String Class) I mean
whether it is value type or Reference type?
5)With the introduction of nullable types in 2.0 what is the answer
for "null can be stored in value types"?
6)"All local variables must be intialized before using" whether they
are Value type variables or Refernce Type?
These questions looks bit funny but please help me getting a clear
idea of them.
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|