static void Main(string[] args) { Snippet InstantiatedSnippet = new Snippet(); Author InstantiatedAuthor = new Author(); Source InstantiatedSource = new Source(); SourceType InstantiatedSourceType = new SourceType(); Comments InstantiatedComments = new Comments(); }
static void AddSource(string SourceName) { Source SourceVariable = new Source(); SourceVariable.SourceName = "TestSource"; SourceVariable.SourceID = 1; Console.WriteLine("SourceName: {0}, SourceID: {1}", SourceVariable.SourceName, SourceVariable.SourceID); }