Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
HMS abstract
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace HotelManagementSystem { abstract class HMS { public virtual void Set() { } } class HotelManagementSystem : HMS { protected int HMSId; protected int HMSBilling; protected string HMSServicing; protected string HMSBookRoom; public void SetHMS(int StaffId, int bill, string service, string booking) { HMSId = StaffId; HMSBilling = bill; HMSServicing = service; HMSBookRoom = booking; } public string GetHMS() { return HMSServicing; return HMSBookRoom; } public static void Main(string[] args) { Hotel Management System HMSId = new Hotel Management System(); StaffId.SetHMS(1,"Net"); Console.WriteLine(HMSId, HMS()); Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
Test Stopwatch
проект из 7 главы
Problem: rstring
per1
a
Prime number
Collatz Conjecture Using Pi
Deadlock Example
circleTest
xml into dictionary