Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Supermarket
Inventory
Contains
Supermarket.Inventory.Contains C# (CSharp) Method
Inventory Class Documentation
ファイルを表示
Open project: Clarksj4/Theme-Supermarket-Tycoon-World
Contains()
public
method
Checks if this inventory contains a product by the given name.
public
Contains
(
string
product
) :
bool
product
string
The name of the product to check for.
return
bool
public bool Contains(string product) { return items.ContainsKey(product); }
Inventory
Add
CalculateTotal
Contains
Get
Inventory
Price
Quantity