c# basics training (interfaces)
DESCRIPTION
Our C# basics training slides, which we used in out recent training batchTRANSCRIPT
Coding HorrorThe scary show for Programmers
Based on True stories from the desk of software
programmers
InterfacesEpisode #2
And We are back!!
Syed Mansoor Ahmed
(Project Manager)- Proud Wiproite from
last 10 Yrs- Leads AppC
Automation team
Ankit Kashyap(Analyst Programmer)
- Proud Wiproite from last 5.9 Yrs
- Works as developer; take care of AppC tools
Why We need it?
Polymorphism
Alternate way
for multiple
inheritance
One ability = one interface
loosely coupled systems
Show me a quick demo!!!
Quick checks??
• How to declare public and private methods in an interface definition??
• How they are different from Abstract classes?
• How we achieve code reuse through Interfaces?
-Whats your number? Huh?-How to ring the phone?-How to send voice data?
Cellphone – Seriously I can’t live without it!
Software Specification
• Mobile Exchange should be able to intimate user about calls (Ringtone!)
Req 1
• Mobile Exchange should be able to send the voice across network
Req 2