If I create this piece of C# code:
using System;
public class Test
{
private string x;
public string GetX
{
get
{
return x;
}
}
}
What would the difference between the above and this:
using System;
public class Test
{
private string x;
public string GetX
{
return x;
}
}