L. P. with Microsoft C# - Level 3-Quiz-3

  1. A struct qualifies as a user defined value type, as well as a lightweight class, and has no support for inheritance.
  2. There is no initialization of private variable in Struct. A Struct can't be derived from other classes.
  3. In Small, simple objects case you would  want to use a Struct, rather than a class.
  4. You are creating a struct and want to call a default Constructor. What do you need to do when defining the struct?
    Make sure not to code any constructor at all.
  5. You are making a WriteLine statement, and you want to put a placeholder in for a value that you will designate at the end of the line of code. {0} placeholder  you can use to do this.
Permalink | Comments (0) | Hits: 1084 | Time: 16:20:09
Learning Programming with Microsoft C# - Level 3-3.3
Learning Programming with Microsoft C# - Level 3-4.1
All Comments

 No Data Now...

Post Your Comment
^ ^

Top