I am very new in C# (I came from Java) and I have the following question.
In an application, on which I am working, I found something like it in the code:
if (!String.IsNullOrEmpty(u.nome))
This code simply check if the nome
field of the u
object is not an empty\null string.
OK, this is very clear for me, but what can I do to check it if a field is not a string, but is a normal int?