Logical Programs C#
Logical Programs C#
I{
El abstract class Employee
{
abstract public string s alary ( int an, int m) ;
abstract public string name( string fn, string ln ) ;
}
}
1amespace cll p2ql
}
public Forml( ) •7 Form1
{
InitializeComponent( ) ;
}
fulltime
private void buttonl_Click( object sender, EventArgs e ) X
{
Employee c = new fulltime () ; MONTHLY SAIARV 15: 58333
THE NAME IS aymanSamod
MessageBox . Show( c . salary( 500,160) . ToString()+" \ n"
contract
+( c.name ( "Suhayl a" , "Samad" ))) ; OK
}
}
I