The first is a public field, the second an automatically implemented public property.
They are not the same. With the auto implemented property the compiler will generate a private backing field.
Though both can work as a way to expose data from your class, you should be using properties following the principle of information hiding – fields should be private and only accessed through properties. This allows you to make changes to the implementation without breaking the callers.