blah blah blah is here! blah blah » Close

0
votes
1 answers

why we override ToString()

Hi, I have seen in couple of places the code where ToString() method has been overriden. Like : class Employee : IComparable<Employee> { public int Salary { get; set; } public string Name { get; set; } public i ...

1
votes
2 answers

Problem with int.Parse

My code: private void tbPagos_Click(object sender, EventArgs e) { iPosact = dgView.CurrentRow.Index; pId = tc.Rows[iPosact]["id"].ToString(); pNombre = tc.Rows[iPosact]["nombre"].ToString(); pSaldo = int.Pars ...

Feedback