Home > Net >  C # code had better
C # code had better

Time:09-16

Define a student class, two attributes is the Name and age, a static variable school, define a no-parameter constructor and a method in the construction of the two parameters in the test class called respectively the two constructors make object and the output of two object Name, age, school values

CodePudding user response:

Even if he is not listen to a little bit about the class well

CodePudding user response:

This is a practice questions, don't do exercises, you are so pure in order to cope with the examination,

CodePudding user response:

reference 1st floor ajdkjalj response:
even if he is not listen to a little bit about the class well

Don't don't don,

CodePudding user response:

This is not a test. Thanks

CodePudding user response:

refer to the second floor of the knights templar 18 response:
this is a practice questions, don't do exercises, you really are purely for the exam,

Don't need you said in this somewhat ironic

CodePudding user response:

refer to 6th floor weixin_47276163 response:
Quote: refer to the second floor of the knights templar 18 reply:
this is a practice questions, don't do exercises, you really are purely for the exam,

Don't need you said in this somewhat ironic

Elm head, I am points to wake you, this kind of low-level exercises, let others write to you, as oneself write faster now, now that has not been seriously know his classes, and not because the exam so urgent, how to still don't practice? So tiny step take not to go, how can you improve?
You see, you raised several posts, the reason you didn't? Beginners bothered to answer ah,

CodePudding user response:

 
Public class Student
{
Public string Name {get; set; }
Public int the Age {get; set; }

Public static string School;

Public Student ()
{

}

Public Student (string name, int age)
{


}

}



Only half without private chat and, not to return
  •  Tags:  
  • C#
  • Related