OOP in CSharp Part2

68
69 PDFill PDF Editor with Free Writer and Tools

description

OOP in CSharp Part2

Transcript of OOP in CSharp Part2

Page 1: OOP in CSharp Part2

69

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 2: OOP in CSharp Part2

70

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 3: OOP in CSharp Part2

71

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 4: OOP in CSharp Part2

72

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 5: OOP in CSharp Part2

73

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 6: OOP in CSharp Part2

Note:

1. You cannot declare virtual methods as static

2. You cannot declare virtual methods as private

3. Virtual methods are supposed to be overriden by the new implementation of the same method in the child class

4. Base class method may be declared with ‘virtual’, but derived class may or may not override that base class method

5. If derived class wants to override the base class method, then use the override keyword while providing new implementation of the same method in the child class

74

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 7: OOP in CSharp Part2

75

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 8: OOP in CSharp Part2

76

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 9: OOP in CSharp Part2

77

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 10: OOP in CSharp Part2

78

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 11: OOP in CSharp Part2

79

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 12: OOP in CSharp Part2

80

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 13: OOP in CSharp Part2

81

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 14: OOP in CSharp Part2

82

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 15: OOP in CSharp Part2

83

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 16: OOP in CSharp Part2

84

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 17: OOP in CSharp Part2

85

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 18: OOP in CSharp Part2

86

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 19: OOP in CSharp Part2

87

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 20: OOP in CSharp Part2

88

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 21: OOP in CSharp Part2

89

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 22: OOP in CSharp Part2

90

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 23: OOP in CSharp Part2

91

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 24: OOP in CSharp Part2

92

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 25: OOP in CSharp Part2

93

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 26: OOP in CSharp Part2

94

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 27: OOP in CSharp Part2

95

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 28: OOP in CSharp Part2

Note: If you implement a member of an interface in a class implicitly, you can call that member implicitly or explicitly, i.e., using nay of the ways.

96

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 29: OOP in CSharp Part2

97

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 30: OOP in CSharp Part2

98

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 31: OOP in CSharp Part2

99

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 32: OOP in CSharp Part2

100

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 33: OOP in CSharp Part2

101

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 34: OOP in CSharp Part2

102

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 35: OOP in CSharp Part2

103

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 36: OOP in CSharp Part2

104

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 37: OOP in CSharp Part2

105

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 38: OOP in CSharp Part2

106

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 39: OOP in CSharp Part2

107

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 40: OOP in CSharp Part2

108

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 41: OOP in CSharp Part2

109

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 42: OOP in CSharp Part2

110

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 43: OOP in CSharp Part2

111

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 44: OOP in CSharp Part2

Note:

* -- You can declare many overloaded constructors, but all of them have to assign value to fields. So, practically, only one overloaded constructor is enough to do the job.

112

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 45: OOP in CSharp Part2

113

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 46: OOP in CSharp Part2

114

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 47: OOP in CSharp Part2

115

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 48: OOP in CSharp Part2

116

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 49: OOP in CSharp Part2

117

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 50: OOP in CSharp Part2

118

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 51: OOP in CSharp Part2

119

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 52: OOP in CSharp Part2

120

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 53: OOP in CSharp Part2

121

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 54: OOP in CSharp Part2

122

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 55: OOP in CSharp Part2

123

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 56: OOP in CSharp Part2

124

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 57: OOP in CSharp Part2

125

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 58: OOP in CSharp Part2

126

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 59: OOP in CSharp Part2

127

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 60: OOP in CSharp Part2

128

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 61: OOP in CSharp Part2

129

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 62: OOP in CSharp Part2

130

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 63: OOP in CSharp Part2

131

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 64: OOP in CSharp Part2

132

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 65: OOP in CSharp Part2

133

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 66: OOP in CSharp Part2

134

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 67: OOP in CSharp Part2

135

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s

Page 68: OOP in CSharp Part2

136

PDFi

ll PD

F Ed

itor w

ith F

ree W

riter

and

Tool

s