answersLogoWhite

0


Best Answer

void simply means you don't have anything to return w/in a function, it is the same as return 0;

public void sample()

{

MessageBox.Show("This Function do not return anything");

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is void command in c sharp programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Example of a programming language?

C, C++, Java, C-Sharp


What programming language produces exe extensions?

C Sharp (C#)


What is d command for squareroot in C programming?

There are no commands in C-programming, you should use function sqrt from math.h


Object oriented programming in c sharp?

Yes, C# is object orientated.


What an example of a function?

In C-programming: int main (void) { return 0; }


Why you use void res in c programming?

since, the word 'void' in C programming language means that it does not return any value to the user or calling function....this is usually used to specify a type of function...... for this reason w use 'void'in c program..


Why you are using VOID in C programming?

You don't use 'VOID', but 'void'. It means different things, such as:- void as function type means no return value- void as function parameter means no parameters- 'void *' as pointer-types means generic pointer


What are some of the benefits of programming in C Sharp?

There are many advantages to C sharp programming like: Not having to define the Headers (.h), Classes can be defined within classes, classes and functions can be defined in random order unlike C and C++, Classes and functions don't need to be declared in the program.


How do you make a proposal in C programming?

#include <stdio.h> int main (void) { puts ("Marry me"); return 0; }


What is token in C programming?

They're things that keep the variables in line with the void main and your functions


What is the term 'fprintf' used in?

The term "fprintf" is a command used in the computer programming language C++. The command "fprintf" in C++ is used to print formatted data to a stream.


How can you write a c programming which say you that day is holyday?

int main (void) {puts ("day is holyday");return 0;}