static void Main(string[] args) { technicalScriptWriter ts = new technicalScriptWriter("C# | copy constructor", 38); technicalScriptWriter ts1 = new technicalScriptWriter(ts); Console.WriteLine(ts1.Data); Console.ReadLine(); }
public technicalScriptWriter(technicalScriptWriter tech) { topic_name = tech.topic_name; article_no = tech.article_no; }