Elnur Tazhimbetov2017-12-19 12:11:08
Elnur Tazhimbetov, 2017-12-19 12:11:08

4 variations of the Main method in c#?

What are 4 variations of the Main method?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Michael, 2019-10-09

class Authorized {
  constructor() {
    this.jwt = require('jsonwebtoken')
    this.secretKey = 'dSjkLsSjerIfkL'

D3lphi, 2017-12-19

public static void Main()

public static void Main(string[] args)

public static int Main()

public static int Main(string[] args)

Stanislav Silin, 2017-12-19

C# 7.1

public static void Main();
public static int Main();
public static void Main(string[] args);
public static int Main(string[] args);
public static Task Main();
public static Task<int> Main();
public static Task Main(string[] args);
public static Task<int> Main(string[] args);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question