Class Product
Assembly: Coree.NETASP.dll
Syntax
Constructors
|
Edit this page
View Source
Product(int, string, double)
Declaration
public Product(int id, string name, double price)
Parameters
Properties
|
Edit this page
View Source
Id
Declaration
public int Id { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; set; }
Property Value
|
Edit this page
View Source
Price
Declaration
public double Price { get; set; }
Property Value
Methods
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides