online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
using System; using System.Reflection; using System.Runtime.CompilerServices; public class MyAttribute : Attribute { const string p = nameof(p); public MyAttribute(int p, [CallerMemberName] string arg = "<default>") { Console.WriteLine(arg); } } [My(default(int))] public class Program { static void Main() { typeof(Program).GetCustomAttribute(typeof(MyAttribute)); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue