when to use interface c# code example
Example: c# interface properties
public interface ISampleInterface
{
// Property declaration:
string Name
{
get;
set;
}
}
public interface ISampleInterface
{
// Property declaration:
string Name
{
get;
set;
}
}