Skip to content

Instantly share code, notes, and snippets.

View nanwang2016's full-sized avatar
🏠
Working from home

Nan W nanwang2016

🏠
Working from home
View GitHub Profile
using System;
using Greeting;
namespace Greeting
{
public class MorningGreet
{
public void GoodMorning()
{
Console.WriteLine($"Good Morning");
}
@nanwang2016
nanwang2016 / Namespace in C# Fully Qualified Name.cs
Last active November 11, 2020 23:19
Namespace in C# Fully Qualified Name
using System;
namespace Greeting
{
public class MorningGreet
{
public void GoodMorning()
{
Console.WriteLine($"Good Morning");
}
}
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
Vehicle.startTheVehichle();
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("The color of the vehicle is: " + Vehicle.Model_color);
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
var result = Calculator.Sum(5, 7);
Console.WriteLine("The sum of 5 and 7 is " + result);
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
var animal = new Animal();
var cat = new Cat();
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
int resultInt = PlusMethod(1, 2);
double resultDouble = PlusMethod(2.4, 4.4);
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
}
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
}