C
C#

✅ I keep getting Error CS5001 and CS0028, how do i get rid of them

✅ I keep getting Error CS5001 and CS0028, how do i get rid of them

FBDfat brown dog11/20/2023
in CS5001 it says Program does not contain a static "Main" method suitable for an entry point and in CS0028 it says 'Program.Main(Application[])' has the wrong signature to be an entry point
Pphaseshift11/20/2023
Make a proper main Google for c# main
FBDfat brown dog11/20/2023
ok wait
UUUnknown User11/20/2023
2 Messages Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
it's correct but it's not working? idk it just came
UUUnknown User11/20/2023
4 Messages Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
how
UUUnknown User11/20/2023
Message Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
wym
UUUnknown User11/20/2023
2 Messages Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
ok
UUUnknown User11/20/2023
Message Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
nah
Aalex11/20/2023
what does the main signature look like?
UUUnknown User11/20/2023
Message Not Public
Sign In & Join Server To View
MMODiX11/20/2023
The possible signatures for Main are
public static void Main() { }
public static int Main() { }
public static void Main(string[] args) { }
public static int Main(string[] args) { }
public static async Task Main() { }
public static async Task<int> Main() { }
public static async Task Main(string[] args) { }
public static async Task<int> Main(string[] args) { }
public static void Main() { }
public static int Main() { }
public static void Main(string[] args) { }
public static int Main(string[] args) { }
public static async Task Main() { }
public static async Task<int> Main() { }
public static async Task Main(string[] args) { }
public static async Task<int> Main(string[] args) { }
public is not required (can be any accessibility). Top-level statements are compiled into a Main method and will use an appropriate signature depending on the body. https://docs.microsoft.com/en-US/dotnet/csharp/fundamentals/program-structure/main-command-line
UUUnknown User11/20/2023
2 Messages Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
which part
UUUnknown User11/20/2023
4 Messages Not Public
Sign In & Join Server To View
FBDfat brown dog11/20/2023
ok wait a sec i love u bro thank u so much

Looking for more? Join the community!

C
C#

✅ I keep getting Error CS5001 and CS0028, how do i get rid of them

Join Server
Want results from more Discord servers?
Add your server
Recommended Posts
Struct with explicit layoutHi, I am using Wintab and I am trying to make packet struct, but I have some problem. In some situatExtending custom WPF controlWhat are my options to extend this TimePicker list element to full height that shows all items? I'm Discord.Net + MagicOnion, hehehHey! So I am working on a discord bot that I want to intergrate into a server using websockets, I fA question for my c# winforms projecthello guys, i have a question about my c# winforms project. So : I have 2 Projects the first ProjecYO I NEED HELP writing a code need advice not for u to write it for mewrite me a c# program that get 3 latters and tell if they are by the order like abc if they are backBlazor ServicesI dont know too much blazor, but I have a .cs file in a /Settings folder, in which I would like to aHow to optimize this?I have following: ```cs using System; namespace SquareCalculus { internal class FigureTriangle In VSCode, SDK not Recognized on ChromeOSHi. I just installed the .NET SDK and the Runtime by following the instructions for Ubuntu on the MiNito.AsyncEx vs DotNext.ThreadingWe're currently searching for a nice AsyncAutoResetEvent implementation. We found two suitable impleSequential BlinkersHello everyone! I bought these sequential blinkers that run off an stm32 blue pill board. the only pTrying to use Microsoft.Kiota namespace but not found when importingI am trying to use this method from the Microsoft.Kiota.Abstractions.Extensions namespace: ToFirstChWinUI3 Scheduler CalendarViewhello im trying to make a winui3 calendarview interactive calendar where I can predefine dates in myThe call is ambiguous between the following methods or properties: 'Thread.Thread(ThreadStart)' andi have to upload by filesHelp a noobie out with a simple hangmanHi! New to coding and I need some help to solve this problem. Shall I save the words to a list? AnyC# Image Resizing on Visual Studio CodeI've tried both ``newPic.SizeMode = PictureBoxSizeMode.StretchImage;`` and ``newPic.SizeMode = PictuI'm stuck,visual studio 22, I need help making my invaders/enemies move left to right then downI’m trying to get my invaders/enemies to move left to right then down like in the game space invader✅ Where should I store all the sensitive file on .NET project?Hello everyone, May I know where should I store all the credential files that needs to be used by .Unity CodeI have been trying to get my C# code to work in unity for about a week and I am officially lost. I'vHelp! Reporting service in dotnet Core?please don't mind my english, it is not that good. i have created 2 projects one is server -dotnetCatAPI Json deserialization issue.I'm having trouble getting my code to deserialize my json correctly. When I run my Program.cs I get