In: Computer Science
Create a C# program named SalesLetter whose Main() method uses several WriteLine() calls to display a sales letter to prospective clients for a business of your choice. Display your contact information at least three times in the letter. The contact information should contain at least three lines with data such as land line phone number and/or cellphone number, email address, and web address.. Each time you want to display the contact information, call a method namedDisplayContactInfo().
Code -
using System;
public class Program
{
public static void DisplayContactInfo()
{
Console.WriteLine("Phone:
9166234555");
Console.WriteLine("E-mail:
[email protected]");
Console.WriteLine("Website:
www.mycompany.com");
}
public static void Main()
{
Console.WriteLine("From: MyCompany
Sales Manager");
DisplayContactInfo();
Console.WriteLine("\nSubject:
inviting for partnership in our new business \n");
Console.WriteLine("\tRespectfully
partners, we are going to open our new business at following
address - ");
Console.WriteLine("Location:
Sitapura, Jaipur");
Console.WriteLine("Contact
Information: ");
DisplayContactInfo();
Console.WriteLine("Please send your
interest letter as soon as possible. \nThank you.\n");
Console.WriteLine("Your Faithfully:
\nRaman Singh\nSales Manager");
DisplayContactInfo();
}
}
Output -