using System;
namespace npcprog
{
public class npc
string npcname = "John";
int hitpoints;
int attack;
public void characterstats()
hitpoints = 125;
attack = 15;
}
public void display()
Console.WriteLine("Hello stranger! My name is {0}!", npcname);
public class speak
public void Main (string[] args)
npc A = new npc();
A.characterstats();
A.display();
Console.ReadLine();