answersLogoWhite

0

Can you write multiple Mains in C-Sharp programming?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

No. There can only be one main method, however you can declare new methods, and call them from the main method.

Or you can use multi-threading, to simulate having multiple main methods.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you write multiple Mains in C-Sharp programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you have multiple main method in the same class?

according to my knowledge it is no a main can have multiple classes but a class cannot have multiple mains...main indicates the beginning of a program and if we have n number of mains then the compiler will show an error in all the main program that we write


Write a program to generate uppercase using cSharp?

string s = "asdfqwer"; s = s.ToUpper(System.Globalization.CultureInfo.CurrentCulture);


How is event driven programming different from other programming?

write a note on event driven programming


How programming language is useful in system programming?

Without programming languages you couldn't write (system) programs.


Write a program using CSharp to simulate a text editor to convert to upper Case?

richTextBox1.Text = richTextBox1.Text.ToUpper(); Simple, but i would execute on a button click, not on a Textchanged Condition.


What can c programming do?

by using this we can write a coding for operating systems


How do you write absolute in C programming?

Assuming Absolute Value.abs(num)


What you 'll do using programming language?

Write computer-programs, I suppose.


How do you get a LCM of a number?

you write your multiple of your # then pick the lowest multiple!there you are done!


What is the difference between windows programming and .Net programming?

Windows programming is a general term for writing programs intended for the Windows platforms. We can write Windows programs in any programming language. The .NET framework is specifically intended to be used with C#, F# and Visual Basic programming languages.


Programs that allow the user to write applications software?

programming language software


What is the program that allows the user to write applications software?

programming language paradigm