Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Intuit // C# // listing_4.8 (while)
Home work3 finding Min and Max (to theGit)
First code
my wall
test string format with curly braces as a value
teste
Before Number big
SKYIES
lookup test
Unsorted array with most occurence
Please log in to post a comment.