Hi
why is this not possible (name="Bob") and why is this allowed: static string name="Bob"?
Thanks
using System;
public class oef2
{
static string naam;
name="Bob";
public static void Welkom()
{
Console.WriteLine("Welkom " + name + " !");
}
public static void Main(string[] args)
{
Welkom();
}
}