-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.3 code cleanup, load data from object, json, url (json)
- Loading branch information
Marcin kotynia
committed
Jul 17, 2017
1 parent
08521ae
commit acc03fe
Showing
12 changed files
with
394 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace ExcelToHtml.console | ||
{ | ||
public class Person | ||
{ | ||
public string Name { get; set; } | ||
public string Surname { get; set; } | ||
|
||
} | ||
|
||
public class Company | ||
{ | ||
public string CompanyName; | ||
public string CompanyCode; | ||
public List<Person> People = new List<Person>(); | ||
|
||
public Company() { | ||
CompanyName = "Acme"; | ||
CompanyCode = "CODE13"; | ||
|
||
Person x = new Person(); | ||
x.Name = "John"; | ||
x.Surname = "Wick"; | ||
|
||
People.Add(x); | ||
People.Add(x); | ||
People.Add(x); | ||
|
||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.