Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Newbie from VB.NET, Startup Object Question 1

Status
Not open for further replies.

traceytr

Programmer
Mar 13, 2001
94
US
I’m completely new to C# but have a couple years experience with VB.NET, and I’m trying to get my first C# project off the ground. My C# books are good; however they don’t answer the questions I have at this point in my project.

My project will be a Windows application that does not need a form. I want to create a .exe file to be executed manually by user or scheduled task.

If I were starting my new project in VB.NET, I would open a new project, create a new Windows application and delete the form because I don’t need it. Then I’d add a Module and make it my startup object.

There are no modules in C#, and I’m wondering if I should put all of my code into classes. Can I make a class my startup object?

I appreciate any help and advice that will lead me in the correct direction. Thank you.


Tracey
 
I've seen Console applications used in VB.NET, but I've never created one because Modules served my purpose. I'll try it. Thanks.

Tracey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top