using System;
//Create Cat Class
public class Cat
{
//Create a public field for name
public string Name;
//Create a constructor with one parameter to set up the Name field
public Cat(string strName)
Name = strName;
}
//Method to describe cat's action meow
public void meow()
//print out sounds of actions
Console.WriteLine("meowww");
//Method to describe cat's action sleep
public void sleep()
Console.WriteLine("zzzzzzz");
public class Program
public static void Main()
//Create cat object Pebbles
Cat myCat = new Cat("Pebbles");
//Print out cat's name
Console.WriteLine("Cat's name: "+ myCat.Name);
//Call the cat's actions
myCat.meow();
myCat.sleep();