Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
17 views4 pages

Lab5 DotNetPrint

This document is a lab sheet for a DotNet Technology course at Tribhuvan University, focusing on concepts such as abstract classes, inheritance, properties, and indexers in C#. It outlines various programming tasks including writing C# programs to demonstrate these concepts and creating a simple Contact Management System. The lab sheet is submitted by a student and includes space for signatures and outputs for each task.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views4 pages

Lab5 DotNetPrint

This document is a lab sheet for a DotNet Technology course at Tribhuvan University, focusing on concepts such as abstract classes, inheritance, properties, and indexers in C#. It outlines various programming tasks including writing C# programs to demonstrate these concepts and creating a simple Contact Management System. The lab sheet is submitted by a student and includes space for signatures and outputs for each task.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

TRIBHUVAN UNIVERSITY

RATNA RAJYA LAXMI CAMPUS


Exhibition Road, Kathmandu

DotNet Technology
(CACS 302)

Lab Sheet-5
Title: Concept of Abstract Class, Method,
Inheritance, Property and Indexer

Submitted by: Submitted by:


Name: Ajaya Bhattarai Mr. Bhupendra Ram Luhar
Roll no.: 02(A)
BCA 5th Semester Signature:………………..
Date: 2082/02/04 Date:……………………..
Lab Date Topic Name Signature
No.

a) Write a C# program to illustrate the


concept of abstract class and
method.

b) Write a C# program to implement


concept of following type of
inheritance:
• Single-Level Inheritance
• Multi-Level Inheritance
• Hierarchical Inheritance
• Multiple Inheritance using
interface
05 2082/02/04

c) Write a C# program to create


property that illustrates various type
of property.

d) Write a C# program to display the


BCA 5th Semester subject name
using indexer.

e) Create a simple Contact


Management System that store and
retrieves contact information (like
name and phone number) using
indexer.
Q.no.1- Output:

Q.no.2a- Output:

Q.no.2b- Output:

Q.no.3- Output:

Q.no.4- Output:
Q.no.5- Output:

You might also like