I'm trying to do a project with regard to displaying two separate text-animation in one line which shall display like this
I am using inheritance for this. I, however, can't display them in one line. I need assistance aligning them in the same line as the image provided.
Here is the screenshot of the code.
I can't seem to upload the code.
public void Egg()
{
Console.Write(" ___" +
"\n / \\" +
"\n |’ |" +
"\n \\___/");
//return;
}
public void Cat()
{
Console.Write("\n _,'| _.-''``-...___..--';" +
"\n /_ \\'. __..-' , ,--...--'''" +
"\n <\\ .`--''' ` /'" +
"\n `-';' ; ; ;" +
"\n __...--'' ___...--_..' .;.'" +
"\n (,__....----''' (,..--'' " +
"");
//return;
}
public class My_Calculation : Program
{
static void Main(string[] args)
{
My_Calculation demo = new My_Calculation();
demo.Egg();
demo.Cat();
Console.Read();
}
}
I am open to suggestions if there is a better way of solving this. Thanks in advance!