C#C
C#4y ago
Silme94

❔ Space Problem

why the space doesn't count ?
using System;
using System.Runtime.InteropServices;

class Program{

    [DllImport("user32.dll", CharSet = CharSet.Unicode)]
    public static extern int MessageBox(IntPtr hW, String content, String title, uint type);
    public static string text;
    public static string argument;
    static void Main(string[] args){
        for (int i = 0; i < args.Length; i++)
        {
            argument = argument + args[i];   
        }
        text = argument;
        MessageBox(new IntPtr(0), text, "Error", 0);
    }
}
tukyr.PNG
Was this page helpful?