Automatic properties - CSharp Custom Type

CSharp examples for Custom Type:Property

Introduction

An automatic property declaration instructs the compiler to provide the implementation.


public class Product
{

  public decimal CurrentPrice { get; set; }
}

Related Tutorials