.NET Fiddle

CSharp · Console

/Program.cs

using System;

public class Teste
{
	public int campo_1 { get; set; }
	public int campo_2 { get; set; }
	public int campo_3 { get; set; }
	public int campo_4 { get; set; }
	public int campo_5 { get; set; }
}

public class Example
{
	public static void Main()
    {
		var teste = new Teste();
		var type = teste.GetType();
		var properties = type.GetProperties();

		foreach (var property in properties)
		{
			var valor = property.Name.Substring(property.Name.IndexOf("_") + 1);
			
			Console.WriteLine("Propriedade: " + property.Name);
			Console.WriteLine("Valor antes: " + property.GetValue(teste, null));
			
			property.SetValue(teste, Int32.Parse(valor));
			
			Console.WriteLine("Valor depois: " + property.GetValue(teste, null));
			Console.WriteLine();
		}
	}
}
;