Jay Janarthanan Jay Janarthanan - 11 months ago 51
C# Question

How can I have a class called "System", using C# 6.0

I need to create and use a class that will be called System.cs (please don't ask why :-).

The current option is to refer it with the namespace, for example


Putting it in namespace like

using System = NameSpace.System;

Does not work either.

All I want is to write some thing like
and get my implementation called.


Answer Source
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace test
    public class Program
        public static void Main(string[] args)

    public static class System
        public static void Debug(string message)