?? storefoodprice.cs
字號:
using System;
namespace Facade
{
/// <summary>
/// Summary description for StoreFoodPrice.
/// </summary>
public class StoreFoodPrice {
private int storeKey, foodKey;
private float foodPrice;
//-----
public StoreFoodPrice(int sKey, int fKey, float fPrice) {
storeKey = sKey;
foodKey = fKey;
foodPrice = fPrice;
}
//-----
public int getStore() {
return storeKey;
}
//-----
public int getFood() {
return foodKey;
}
//-----
public float getPrice() {
return foodPrice;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -