tobbbe
5/4/2017 - 3:12 PM

List iterate loop class properties and values

@foreach (var prop in Chalin.Current.AllOccations.First().GetType().GetProperties())
{
	<br />
	@prop.Name<br />
	@prop.GetValue(Chalin.Current.AllOccations.First())
	<br />
}