[Ebooks PDF] download Simple and Efficient Programming with C# : Skills to Build Applications with Visual Studio and .NET 2nd Edition Vaskaran Sarcar full chapters
[Ebooks PDF] download Simple and Efficient Programming with C# : Skills to Build Applications with Visual Studio and .NET 2nd Edition Vaskaran Sarcar full chapters
com
https://ebookmass.com/product/simple-and-efficient-
programming-with-c-skills-to-build-applications-with-visual-
studio-and-net-2nd-edition-vaskaran-sarcar-2/
OR CLICK HERE
DOWLOAD NOW
https://ebookmass.com/product/microeconomia-quarta-edizione-david-a-
besanko/
ebookmass.com
The Precision Farming Revolution: Global Drivers of Local
Agricultural Methods 1st ed. 2020 Edition James E.
Addicott
https://ebookmass.com/product/the-precision-farming-revolution-global-
drivers-of-local-agricultural-methods-1st-ed-2020-edition-james-e-
addicott/
ebookmass.com
https://ebookmass.com/product/mathematical-rigour-and-informal-
proof-1st-edition-fenner-stanley-tanswell/
ebookmass.com
https://ebookmass.com/product/male-and-sperm-factors-that-maximize-
ivf-success-1st-edition-john-aitken/
ebookmass.com
https://ebookmass.com/product/etextbook-pdf-for-doing-ethics-moral-
reasoning-theory-and-contemporary-issues-5th-edition/
ebookmass.com
Navigating Urban Soundscapes: Dublin and Los Angeles in
Fiction Annika Eisenberg
https://ebookmass.com/product/navigating-urban-soundscapes-dublin-and-
los-angeles-in-fiction-annika-eisenberg/
ebookmass.com
Vaskaran Sarcar
This work is subject to copyright. All rights are solely and exclusively
licensed by the Publisher, whether the whole or part of the material is
concerned, specifically the rights of translation, reprinting, reuse of
illustrations, recitation, broadcasting, reproduction on microfilms or in
any other physical way, and transmission or information storage and
retrieval, electronic adaptation, computer software, or by similar or
dissimilar methodology now known or hereafter developed.
The publisher, the authors, and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
Prerequisite Knowledge
This book is intended for those who are familiar with the common
language constructs of C# and have a basic understanding of pure
object-oriented concepts such as polymorphism, inheritance,
abstraction, encapsulation, and, most importantly, how to compile or
run a C# application in Visual Studio. This book does not invest time in
easily available topics, such as how to install Visual Studio on your
system, how to write a “Hello World” program in C#, how you can use
an if-else statement or a while loop, etc. This book is written using
the most basic features of C# so that for most of the programs herein
you do not need to be familiar with advanced topics in C#. The
examples are simple, and I believe that they are written in such a way
that even if you are familiar with another popular language such as
Java, C++, and so on, you can still easily grasp the concepts in this book.
Who Is This Book For?
In short, you can pick up this book if the answer is “yes” to the
following questions:
Are you familiar with basic constructs in C# and object-oriented
concepts such as polymorphism, inheritance, abstraction, and
encapsulation?
Do you know how to set up your coding environment?
Have you completed at least one introductory course on C# and now
are interested in writing better programs?
Are you also interested to know how a professional programmer
designs their applications?
You probably shouldn’t pick this book if the answer is yes to any of
the following questions:
Are you absolutely new to C#?
Are you looking for advanced concepts in C#, excluding the topics
mentioned previously?
Are you interested in exploring a book where the focus is not on
standard design principles?
Do you not like Windows, Visual Studio, and/or .NET and want to
learn and use C# without them?
Figure I-1 Download link for Visual Studio 2022 and Visual Studio Code
Final Words
You are an intelligent person. You have chosen a subject that can assist
you throughout your career. As you learn about these concepts, I
suggest you write your own code; only then will you master this area.
There is no shortcut to true learning. In a similar context, can you
remember Euclid’s (the ancient Greek mathematician who is often
considered the father of geometry) reply to the ruler? If not, let me
remind you of his reply: “There is no royal road to geometry.” Similarly,
in programming, there is no shortcut. So, study and code; understand a
new concept and code again. Do not give up when you face challenges.
They are the indicators that you are growing better.
I believe that this book is designed for you in such a way that upon
its completion, you will develop an adequate knowledge of the topic,
and, most importantly, you’ll know how to go further. Lastly, I hope that
this book can provide help to you and that you will value the effort.
Any source code or other supplementary material referenced by the
author in this book is available to readers on GitHub
(https://github.com/Apress). For more detailed information, please
visit www.apress.com/source-code.
Table of Contents
Part I: Fundamentals
Chapter 1:Flexible Code Using Polymorphism
Recap of Polymorphism
Initial Program
Demonstration 1
Output
Analysis
Better Program
Demonstration 2
Analysis
Useful Notes
Summary
Chapter 2:Abstract Class or Interface?
Recap of Abstract Classes and Interfaces
Initial Program
Demonstration 1
Better Program
Demonstration 2
Output
Analysis
Summary
Chapter 3:Wise Use of Code Comments
Recap of Code Comments
Initial Program
Demonstration 1
Output
Analysis
Better Program
Demonstration 2
Analysis
Use the Power of C#
Demonstration 3
Analysis
Summary
Part II: Important Principles
Chapter 4:Know SOLID Principles
Single Responsibility Principle
Initial Program
Better Program
Open/Closed Principle
Initial Program
Better Program
Liskov Substitution Principle
Initial Program
Better Program
Analysis
Interface Segregation Principle
Initial Program
Better Program
Dependency Inversion Principle
Initial Program
Better Program
Summary
Chapter 5:Use the DRY Principle
Reasons for DRY
Initial Program
Demonstration 1
Output
Analysis
Better Program
Demonstration 2
Output
Analysis
Further Improvement
Demonstration 3
Output
Demonstration 4
Output
Summary
Part III: Make Efficient Applications
Chapter 6:Separate Changeable Code Using Factories
The Problem Statement
Initial Program
Demonstration 1
Output
Analysis
Better Program
Demonstration 2
Output
Analysis
A New Requirement
Demonstration 3
Output
Analysis
Demonstration 4
Output
Summary
Chapter 7:Add Features Using Wrappers
The Problem Statement
Initial Program (Using Subclassing)
Demonstration 1
Better Program (Using Object Composition)
Class Diagram
Demonstration 2
Output
Analysis
Summary
Chapter 8:Make Efficient Templates Using Hooks
The Problem Statement
Initial Program
Class Diagram
Demonstration 1
Output
Analysis
Enhanced Requirement
Demonstration 2
Output
Summary
Chapter 9:Simplify Complex Systems Using Facades
The Problem Statement
Initial Program
Demonstration 1
Output
Analysis
Better Program
Class Diagram
Demonstration 2
Output
Analysis
Summary
Part IV: Handling Surprises in a Better Way
Chapter 10:Organizing Exceptions
Recap of Exceptions
Case 1:Handling Different Exceptions in the Same Way
Initial Program
Better Program
Case 2:Handling the Same Exception in Different Ways
Initial Program
Better Program
Summary
Chapter 11:Special Attention to the Null Values
Initial Program
Demonstration 1
Output
Analysis
Better Programs
Demonstration 2
Output
Analysis
Demonstration 3
Analysis
Summary
Part V: The Road Ahead
Chapter 12:Memory Management
Overview
Stack Memory vs.Heap Memory
Q&A Session
The Garbage Collector in Action
Different Phases of Garbage Collection
Different Cases of Invoking the Garbage Collector
Demonstration 1
Output
Analysis
Q&A Session
Disposing of an Object
Finalize vs.Dispose
Demonstration 2
Output
Analysis
Q&A Session
Summary
Chapter 13:Analyzing Memory Leaks
Managed vs.Unmanaged Memory Leaks
Memory Leak Analysis
Demonstration
Snapshots from Diagnostic Tools
Summary
Chapter 14:More Tips
Learn Design Patterns
Brief History of Design Patterns
The Good News
Q&A Session
Avoid Anti-patterns
Brief History of Anti-patterns
Examples of Anti-patterns
Q&A Session
Final Suggestions
Decide Between a Static Method and an Instance Method
Know the Common Terminology
Accept Failures!
Q&A Session
Summary
Appendix A:Winning Notes
Appendix B:Resources
Index
About the Author
Vaskaran Sarcar
obtained his master’s degree in software
engineering from Jadavpur University,
Kolkata (India), and his MCA from
Vidyasagar University, Midnapore
(India). He was a National Gate Scholar
(2007–2009) and has more than 12
years of experience in education and the
IT industry. Vaskaran devoted his early
career (2005–2007) to the teaching
profession at various engineering
colleges, and later he joined HP India
PPS R&D Hub Bangalore. He worked
there until August 2019. At the time of
his retirement from HP, he was a senior
software engineer and team lead. To
follow his dream and passion, Vaskaran
is now an independent full-time author. Other Apress books by
Vaskaran include:
Test your Skills in C# Programming (Apress, 2022)
Java Design Patterns, Third Edition (Apress, 2022)
Simple and Efficient Programming in C# (Apress, 2021)
Design Patterns in C#, Second Edition (Apress, 2020)
Getting Started with Advanced C# (Apress, 2020)
Interactive Object-Oriented Programming in Java, Second Edition
(Apress, 2019)
Java Design Patterns, Second Edition (Apress, 2019)
Design Patterns in C# (Apress, 2018)
Interactive C# (Apress, 2017)
Interactive Object-Oriented Programming in Java (Apress, 2016)
Java Design Patterns (Apress, 2016)
The following are other books he’s written:
Python Bookcamp (Amazon, 2021)
Operating System: Computer Science Interview Series (Createspace,
2014)
About the Technical Reviewers
Shekhar Kumar Maravi
is a lead engineer in design and
development whose main interests are
programming languages, algorithms, and
data structures. He obtained his master’s
degree in computer science and
engineering from the Indian Institute of
Technology – Bombay. After graduation,
he joined Hewlett-Packard’s R&D Hub in
India to work on printer firmware.
Currently he is a technical lead engineer
for automated pathology lab diagnostic
devices at Siemens Healthcare R&D
division. He can be reached by email at
shekhar.maravi@gmail.com or via
LinkedIn at www.linkedin.com/in/shekharmaravi.
Carsten Thomsen
is a back-end developer primarily but
works with smaller front-end bits as
well. He has authored and reviewed a
number of books and created numerous
Microsoft Learning courses, all to do
with software development. He works as
a freelancer/contractor in various
countries in Europe, using Azure, Visual
Studio, Azure DevOps, and GitHub. He
also enjoys working with architecture,
research, analysis, development, testing,
and bug fixing.
Part I
Funda
mentals
Part I consists of three chapters, in which we will discuss the following
questions:
How can we use the power of polymorphism, and why is it
beneficial?
How can we combine an abstract class and interfaces to make an
efficient application?
How can we use meaningful code comments and avoid unnecessary
comments in a program?
Almost every C# application uses comments, the concept of
polymorphism, and abstract classes and interfaces. When we
implement these techniques in a better way, the program is better. I
consider them the fundamental techniques for an efficient application.
© The Author(s), under exclusive license to APress Media, LLC, part of Springer
Nature 2023
V. Sarcar, Simple and Efficient Programming with C#
https://doi.org/10.1007/978-1-4842-8737-8_1
Recap of Polymorphism
Polymorphism simply means there is one name with many forms. In the
real world, it is a common phenomenon. Consider the behavior of your
pet dog: when it sees an unknown person, it starts barking. But when it
sees you, it makes different noises and behaves differently. In both
cases, this dog sees with its eyes, but based on the observation, the dog
behaves differently.
You can relate this concept to other areas as well. For example,
consider the customer support departments in different organizations.
They each provide support to the customers in their own way. Similarly,
each of the search engine providers such as Google, Yahoo, or Microsoft
Bing searches the Internet following its own algorithm.
OOP likes to mimic real-world scenarios, and conceptually, the
polymorphic code works in the same way. In C#, a class can have
methods (or properties). Optionally, you can provide implementations
for them. C# also allows the derived classes to override those
implementations as per their needs. As a result, these related types can
have methods with the same name, but they can show different
behaviors. This is the key concept to understand before you deal with
the polymorphic code.
Initial Program
The importance of a feature is often realized in the absence of it. So, I
start with a program that does not use the concept of polymorphism.
This program compiles and runs successfully. Here you have three
different types of animals—tigers, dogs, and monkeys. Each of
them can produce a different sound. So, I made classes with their
corresponding names, and in each class, you see a Sound() method.
Check whether you can improve this program.
Demonstration 1
Here is the complete demonstration:
Output
Here is the output:
Analysis
I have used the simplified new expressions here. For example, the line
Tiger tiger = new(); is the simplified version of Tiger tiger
= new Tiger(); Starting with C# 9.0, you can use this form. It says
that during the constructor invocation if the target type of an
expression is known, you can omit the type name.
When you use Tiger tiger = new Tiger();, the tiger is a
reference to an object that is based on the Tiger class. This reference
refers to the object, but it does not contain the object data itself. Even
Tiger tiger; is a valid line of code that creates an object reference
without creating the actual object.
Understand that when you use Tiger tiger = new
Tiger();, we say that you are programming to an implementation.
Notice that in this case the reference and object both are of the same
type. You can improve this program using the concept of
polymorphism. In the upcoming implementation, I show you such an
example. I use an interface in this example. Before I show you the
example, let me remind you of a few important points:
I could achieve the same effect using an abstract class. When you use
an abstract class or an interface, the first thing that comes to mind is
inheritance. How do you know whether you are correctly using
inheritance? The simple answer is that you do an IS-A test. For
example, a rectangle IS-A shape, but the reverse is not necessarily
true. Take another example: a monkey IS-An animal, but not all
animals are monkeys. Notice that the IS-A test is unidirectional.
In programming, if you inherit class B from class A, you say that B is
the subclass and A is the parent class or base class. But most
importantly, you can say B is a type of A. So, if you derive a Tiger
class or a Dog class from a base class called Animal (or an interface
say IAnimal), you can say that Dog IS-An Animal (or IAnimal) or
Tiger IS-An Animal (or IAnimal). Similarly, a rectangle IS-A
special type of shape. A square IS-A special type of rectangle. So, a
square IS-A shape too.
If you have an inheritance tree, this IS-A test can be applied
anywhere in the tree.
Let us assume that I represent rectangles and shapes using the
Rectangle and Shape classes, respectively. Now when I say
Rectangle IS-A Shape, programmatically I tell that a Rectangle
instance can invoke the methods that a Shape instance can invoke.
But, if needed, a Rectangle class can include some specific
methods that are absent in the Shape class. To invoke these specific
methods, you need to use a Rectangle instance only; since the
Shape class does not include those methods, the Shape instances
cannot call them.
In C#, a parent (or base) class reference can refer to a subclass
object. Since each tiger, dog, or monkey is an animal, you can
introduce a parent type and inherit all these concrete classes from it. I
told you that I am going to use a C# interface now. Following the C#
naming convention, let’s name the supertype as IAnimal.
Here is a code fragment that shows the IAnimal interface. It also
gives you an idea of how to override its Sound() method in the Tiger
class. The Monkey and Dog class can do the same thing.
interface IAnimal
{
void Sound();
}
class Tiger : IAnimal
{
public void Sound()
{
Console.WriteLine("Tigers roar.");
}
}
Better Program
Now I rewrite this program which produces the same output. Let’s take
a look at the following demonstration.
Demonstration 2
Here is demonstration 2. It is a modified version of demonstration 1.
interface IAnimal
{
void Sound();
}
class Tiger : IAnimal
{
public void Sound()
{
Console.WriteLine("Tigers roar.");
}
}
class Dog : IAnimal
{
public void Sound()
{
Console.WriteLine("Dogs bark.");
}
}
class Monkey : IAnimal
{
public void Sound()
{
Console.WriteLine("Monkeys whoop.");
}
}
Analysis
Have you noticed the difference? This time I used the superclass
reference animal to refer to different derived class objects.
Following this approach, not only do you type less, but you also use
a program that is more flexible and easier to maintain. If needed, now
you can iterate over a list too. For example, you can replace the
following code segment inside Main():
If you run the program again with these changes, you see the same
output.
Notice that in demonstration 1, when a client reads the line
dog.Sound(), they can assume that the Sound() method from the
Dog class will be invoked.
But in demonstration 2, when the client reads the line
animal.Sound(), it is not obvious which subtype of IAnimal will
invoke the Sound(). Why is this important? As a programmer, you do
not provide every possible detail to your clients.
This discussion is not over yet. Here I have used one of the simplest
forms of polymorphism. In this case, a question may come to mind: we
know a supertype reference can refer to a subtype object in C#. So,
when I use the following lines:
you can surely predict that the Sound() method of Tiger class
will be used. So, it appears that you know the output in advance and
you doubt the concept of polymorphism. If this is the case, let us further
dig into this.
Let us assume that you create a subtype based on some runtime
random number generator (or user input). In this case, you cannot
predict the output in advance. For example, see the following lines of
code:
What is the difference? Anyone who sees this code segment can
assume that GetAnimal() of the AnimalProducer class returns an
animal that can make some sound. How can you achieve this? It is
pretty simple: let me rewrite the program. Notice the changes in bold:
class AnimalProducer
{
internal static IAnimal GetAnimal()
{
IAnimal animal;
Random random = new Random();
// Get a number between 0 and 3(exclusive)
int temp = random.Next(0, 3);
if (temp == 0)
{
animal = new Tiger();
}
else if (temp == 1)
{
animal = new Dog();
}
else
{
animal = new Monkey();
}
return animal;
}
}
Run this application now and notice the output. Here is the sample
output that I got on the various runs:
First Run:
Second Run:
Third Run:
POINTS TO REMEMBER
If you like to shorten this code, instead of using the if-else chain,
you can use the switch expression as follows:
animal =
temp switch
{
0 => new Tiger(),
1 => new Dog(),
_ => new Monkey()
};
One more point: you can use a simplified new expression again.
For example, the line Random random = new Random(); can
be shortened if you use Random random = new();. When you
download the source code from the Apress website, refer to the
folder Demo3_Polymorphism inside Chapter1 to see the
complete program.
Now I’ll show you some code that helps you understand and use
polymorphic code in an alternative way. You can replace
animal.Sound(); with the following code:
AnimalProducer.MakeSound(animal);
interface IAnimal
{
void Sound();
}
class Tiger : IAnimal
{
public void Sound()
{
Console.WriteLine("Tigers roar.");
}
}
class Dog : IAnimal
{
public void Sound()
{
Console.WriteLine("Dogs bark.");
}
}
class Monkey : IAnimal
{
public void Sound()
{
Random documents with unrelated
content Scribd suggests to you:
love to ye, can't change your nature sudden-like. Ye'll fit in
by and by. Don't I mean that when I says sometimes the
Lord 'ud put me in a palace, if 'twas good for me, but I
wouldn't be over happy in it. Sure I haven't got palace
tastes, nor palace ways,—an' little Lettie's in a grand house,
and she haven't got grand house tastes, nor ways neither,
eh?"
"Just that," said Leveson. "But very few men realize it,
or know that to be taken to heaven, unfitted for heaven's
work and glory, would be no boon. As well take a blind man
to see beautiful scenery, or a deaf man to hear sweet
music, as talk of a man who is deaf and blind to God's love
and beauty, finding any happiness in heaven. But you—"
Leveson went on after a moment's break,—"you, I trust, are
no longer deaf and blind. Heaven will not be to you what
our home, with all our efforts, must for a time be to little
Lettie."
"Aye, sir, an' I don't think that the river Jordan's far
distant neither," said Job. "No, I'm noways loath to go,—
save for leavin' little Ailie tossin' about with no one to take
pity on her. But I think ye'll be a friend to the poor little
lamb, sir."
CHAPTER XXV.
THROUGH THE WATERS.
The next few weeks were busy ones, for Mrs. Therlock
had all sorts of plans for helping the Forsyths, and Lettie's
greatest delight was in seeing those plans carried out. Hor's
long-standing wish to go to sea was at last to be fulfilled,
and when the boy, in a fervour of excitement on hearing the
good news, rushed off to Job Kippis, he listened patiently to
the old man's grave rebuke.
"Will ye say now, boy, that God don't care for ye,—aye,
though ye don't deserve He should? Kind to the unthankful
and evil He be, but take care ye don't tempt Him too far, or
maybe He'll see fit to withdraw His mercies from you."
There were plans also for Job Kippis and Ailie. Mrs.
Therlock was going soon with her two little girls to live in
her country house, and a tiny lodge close to the garden
gate would just do for Job. Ailie should go to the village
school, and learn to read and write and work, and when at
home should take her share in opening the gate, and should
be her grandfather's little housekeeper. For a while it
seemed as if the plan might come to pass, and how eagerly
the three children discussed it in all its bearings need
scarcely be told.
And gradually the truth broke upon them all, that it was
even so. Job Kippis, the brave old soldier, who had battled
so cheerily through his long troubled life, was going to
another and farther Land.
"And you will not be," said Leveson, "so long as you
lean on your Guide. Don't look at the water like Peter, but
look to His Face."
"Sure an' if it didn't, 'twas I that failed, an' not He. Trust
Him!—Aye, don't I? Little Ailie—"
CHAPTER XXVI.
THE LAST OF THE OLD GARRET.
AND as the light of dawn came into the garret, which
for so many months had formed Job's home,—came resting
in dull shades of gray upon the wall, and upon the face that
lay so calm in death, and upon the outlines of the old
warrior's face, still to be seen over the fireplace,—as the
light increased, Leveson rose to leave. He would take little
Ailie, twice-orphaned child, home with him. Where else
could she go?
"They telled me I'd find her here," she said. "They telled
me I'd find Ailie."
"It was the first time you ever gave way to such
temptation, was it not?"
"We will not leave you to starve," said Leveson. "I think
we shall find some means of helping you. Now, what will
you do first? I would rather see you in another room before
I go. Is there any vacant in the house, Ailie?"
And Leveson went home. But all the way he had ringing
in his head the words of a hymn, which seemed strangely
applicable to old Job:—
CHAPTER XXVII.
A NEW HOME.
"I never see a green field in all my life afore," said Ailie,
upon which the worthy man ejaculated—
"Think o' that now! Never see a green field!" and gazed
at Ailie with compassion.
"That be sown with wheat," said the man. "Ye'll see it all
a-comin' up by an' by. An' there, over among the trees, is
the house I'm a-takin' ye to—Mrs. Therlock's."
They had reached the large iron gates which formed the
principal entrance to the grounds. Beside them stood a
fancy cottage, small and neat, overgrown by honeysuckle
and clematis. One lattice window below and one above
looked towards the road, and a tiny garden, stocked with
early vegetables, lay on one side. Ailie's eyes went
speechlessly to her mother and to Josie.
"And mother has put some tea in this little box, and
there's the teapot up there, and Vi and I brought some milk
and bread and butter ourselves this afternoon, didn't we,
Vi? So you can have your tea as soon as you like. Shall I tell
mother you are pleased?"
"He'd ha' liked the green grass, an' the trees' an' the
flowers," said Ailie.
THE END.
*** END OF THE PROJECT GUTENBERG EBOOK THE OLD HOUSE IN
THE CITY ***
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookmass.com