program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hello
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello world!");
Console.BackgroundColor = ConsoleColor.DarkBlue;
Class1.laiqian();
Console.ReadLine();
}
}
}
class1.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hello
{
class Class1
{
public static void laiqian()
{
Console.WriteLine("我是很新的新手!");
}
}
}