Public Class for a WPF Data Grid

Hi I Need a public Method like this in C#:

    public class WPFGridZeilen     {         public string GrSp01 { get; set; }         public string GrSp02 { get; set; }     }

It's a public Class in a C# EXE File

And with this i can get/set Data in a WPF DataGrid...