Parse int value

using System;
public class Sum {
static void Main(String[] args) {
int sum = 0;
for (int i=0; i