best answer > What is the use of public void in C# 2024?- QuesHub | Better Than Quora
  • What is the use of public void in C# 2024?

    参数 方法 不允许

    Questioner:Noah Davis 2023-05-05 12:30:29
The most authoritative answer in 2024
  • Charlotte Jackson——Studied at the University of Johannesburg, Lives in Johannesburg, South Africa.

    void isn't allowed in the parameter list of a method. A method that takes no parameters and returns no value is declared as follows: public void SampleMethod() { // Body of the method. } void is also used in an unsafe context to declare a pointer to an unknown type.read more >>
    +119962023-05-12 12:30:29

About “参数、方法、不允许”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消