The entry point of a program is marked with the .entrypoint
IL directive. It does not matter if the method or the class is public or not, all that matters is this directive.
More Related Contents:
- Pass Method as Parameter using C#
- What is the C# Using block and why should I use it? [duplicate]
- What are Automatic Properties in C# and what is their purpose?
- Read the value of an attribute of a method
- What does “DateTime?” mean in C#?
- How to check whether an object has certain method/property?
- What’s the false operator in C# good for?
- C#: How to create an attribute on a method triggering an event when it is invoked?
- C# Delegate Instantiation vs. Just Passing the Method Reference [duplicate]
- What does the @ prefix do on string literals in C#
- What is a method group in C#?
- Reading 64bit Registry from a 32bit application
- Restarting (Recycling) an Application Pool
- In C#, how to check if a TCP port is available?
- Extension methods must be defined in a non-generic static class
- How to call .NET methods from Excel VBA?
- Exact time measurement for performance testing [duplicate]
- Printing from a .NET Service [closed]
- How to get property change notifications with EF 4.x DbContext generator
- Does using parameterized SqlCommand make my program immune to SQL injection?
- How to display a Windows Form in full screen on top of the taskbar? [duplicate]
- Destructor vs IDisposable?
- The source was not found, but some or all event logs could not be searched
- How to find out if a property is an auto-implemented property with reflection?
- Identifying a custom indexer using reflection in C#
- Initialize library on Assembly load
- Who should call Dispose on IDisposable objects when passed into another object?
- How to install a Font programmatically (C#)
- How to detect when laptop power cable has been disconnected?
- Custom Color Palette in Visual Studio Color Property Editor