100% found this document useful (1 vote)
21 views

C Programming From Problem Analysis to Program Design 5th Edition Barbara Doyle instant download

The document provides information about various editions of C and C# programming textbooks authored by Barbara Doyle and D.S. Malik, available for instant download in multiple formats. It includes links to purchase these ebooks along with a brief overview of their contents, focusing on programming concepts, methodologies, and practical applications. Additionally, it mentions copyright information and the publisher's rights regarding the content.

Uploaded by

ganawacika
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
100% found this document useful (1 vote)
21 views

C Programming From Problem Analysis to Program Design 5th Edition Barbara Doyle instant download

The document provides information about various editions of C and C# programming textbooks authored by Barbara Doyle and D.S. Malik, available for instant download in multiple formats. It includes links to purchase these ebooks along with a brief overview of their contents, focusing on programming concepts, methodologies, and practical applications. Additionally, it mentions copyright information and the publisher's rights regarding the content.

Uploaded by

ganawacika
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/ 62

C Programming From Problem Analysis to Program

Design 5th Edition Barbara Doyle download

https://ebookname.com/product/c-programming-from-problem-
analysis-to-program-design-5th-edition-barbara-doyle/

Get Instant Ebook Downloads – Browse at https://ebookname.com


Instant digital products (PDF, ePub, MOBI) available
Download now and explore formats that suit you...

C Programming From Problem Analysis to Program Design


2nd Edition Barbara Doyle

https://ebookname.com/product/c-programming-from-problem-
analysis-to-program-design-2nd-edition-barbara-doyle/

C Programming From Problem Analysis to Program Design


6th Edition D. S. Malik

https://ebookname.com/product/c-programming-from-problem-
analysis-to-program-design-6th-edition-d-s-malik/

C Programming Program Design Including Data Structures


Fourth edition D. S. Malik

https://ebookname.com/product/c-programming-program-design-
including-data-structures-fourth-edition-d-s-malik/

Elements of Information Theory Second Edition Thomas M.


Cover

https://ebookname.com/product/elements-of-information-theory-
second-edition-thomas-m-cover/
Garden Insects of North America The Ultimate Guide to
Backyard Bugs Second Edition Whitney Cranshaw

https://ebookname.com/product/garden-insects-of-north-america-
the-ultimate-guide-to-backyard-bugs-second-edition-whitney-
cranshaw/

A Guide to IT Contracting Checklists Tools and


Techniques Michael R. Overly

https://ebookname.com/product/a-guide-to-it-contracting-
checklists-tools-and-techniques-michael-r-overly/

Do It Yourself Kitchens Stunning Spaces on a Shoestring


Budget 1st Edition Better Homes And Gardens

https://ebookname.com/product/do-it-yourself-kitchens-stunning-
spaces-on-a-shoestring-budget-1st-edition-better-homes-and-
gardens/

Meet and Grow Rich How to Easily Create and Operate


Your Own Mastermind Group for Health Wealth and More
1st Edition Joe Vitale

https://ebookname.com/product/meet-and-grow-rich-how-to-easily-
create-and-operate-your-own-mastermind-group-for-health-wealth-
and-more-1st-edition-joe-vitale/

The Retail Doctor s Guide to Growing Your Business A


Step by Step Approach to Quickly Diagnose Treat and
Cure 1st Edition Bob Phibbs

https://ebookname.com/product/the-retail-doctor-s-guide-to-
growing-your-business-a-step-by-step-approach-to-quickly-
diagnose-treat-and-cure-1st-edition-bob-phibbs/
The Blackwell Guide to the Philosophy of Science Peter
Machamer

https://ebookname.com/product/the-blackwell-guide-to-the-
philosophy-of-science-peter-machamer/
C# PROGRAMMING:
FROM PROBLEM ANALYSIS TO PROGRAM DESIGN

FIFTH EDITION

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
C# PROGRAMMING:
FROM PROBLEM ANALYSIS TO PROGRAM DESIGN

FIFTH EDITION

BARBARA DOYLE

"VTUSBMJBt#SB[JMt+BQBOt,PSFBt.FYJDPt4JOHBQPSFt4QBJOt6OJUFE,JOHEPNt6OJUFE4UBUFT

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
This is an electronic version of the print textbook. Due to electronic rights restrictions, some third party content may be suppressed. Editorial
review has deemed that any suppressed content does not materially affect the overall learning experience. The publisher reserves the right to
remove content from this title at any time if subsequent rights restrictions require it. For valuable information on pricing, previous
editions, changes to current editions, and alternate formats, please visit www.cengage.com/highered to search by
ISBN#, author, title, or keyword for materials in your areas of interest.

Important Notice: Media content referenced within the product description or the product text may not be available in the eBook version.

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
C# Programming: From Problem Analysis to © 2016, 2014 Cengage Learning
Program Design, Fifth Edition WCN: 02-200-203
Barbara Doyle
ALL RIGHTS RESERVED. No part of this work covered by the
copyright herein may be reproduced, transmitted, stored, or used
Product Director: Kathleen McMahon
in any form or by any means graphic, electronic, or mechanical,
Product Team Manager: Kristin McNary including but not limited to photocopying, recording, scanning,
Senior Product Manager: Jim Gish digitizing, taping, Web distribution, information networks, or
information storage and retrieval systems, except as permitted
Senior Content Developer: Alyssa Pratt
under Section 107 or 108 of the 1976 United States Copyright Act,
Product Assistant: Abigail Pufpaff without the prior written permission of the publisher.
Marketing Manager: Eric LaScola Microsoft ® is a registered trademark of the Microsoft
Senior Production Director: Wendy Troeger Corporation.
Production Director: Patty Stephan Unless otherwise noted all screenshots are courtesy of Microsoft
Corporation
Senior Content Project Manager: Jennifer
K. Feltri-George Unless otherwise noted all tables/figures exhibits are
© Cengage Learning®
Managing Art Director: Jack Pendleton
Cover image: © zeljkodan/Shutterstock.com
Production Service: SPi Global For product information and technology assistance, contact us at
Cengage Learning Customer & Sales Support, 1-800-354-9706
Compositor: SPi Global
For permission to use material from this text or product,
submit all requests online at www.cengage.com/permissions.
Further permissions questions can be e-mailed to
permissionrequest@cengage.com

Library of Congress Control Number: 2015937761


ISBN: 978-1-285-85687-2

Cengage Learning
20 Channel Center Street
Boston, MA 02210
USA

Cengage Learning is a leading provider of customized learning


solutions with employees residing in nearly 40 different countries
and sales in more than 125 countries around the world. Find your
local representative at www.cengage.com.
Cengage Learning products are represented in Canada by Nelson
Education, Ltd.
To learn more about Cengage Learning, visit www.cengage.com
Purchase any of our products at your local college store or at our
preferred online store www.cengagebrain.com
Notice to the Reader
Publisher does not warrant or guarantee any of the products described
herein or perform any independent analysis in connection with any of the
product information contained herein. Publisher does not assume, and
expressly disclaims, any obligation to obtain and include information other
than that provided to it by the manufacturer. The reader is expressly warned
to consider and adopt all safety precautions that might be indicated by the
activities described herein and to avoid all potential hazards. By following
the instructions contained herein, the reader willingly assumes all risks in
connection with such instructions. The publisher makes no representations or
warranties of any kind, including but not limited to, the warranties of fitness
for particular purpose or merchantability, nor are any such representations
implied with respect to the material set forth herein, and the publisher takes
Printed in the United States of America no responsibility with respect to such material. The publisher shall not be
liable for any special, consequential, or exemplary damages resulting, in
Print Number: 01 Print Year: 2015 whole or part, from the readers’ use of, or reliance upon, this material.

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
BRIEF CONTENTS

© zeljkodan/Shutterstock.com

PREFACE xxiii

1. Introduction to Computing and Application Development 1

2. Data Types and Expressions 71

3. Methods and Behaviors 137

4. Creating Your Own Classes 197

5. Making Decisions 257

6. Repeating Instructions 325

7. Arrays 399

8. Advanced Collections 459

9. Introduction to Windows Programming 513

10. Programming Based on Events 593

11. Advanced Object-Oriented Programming Features 699

12. Debugging and Handling Exceptions 785

13. Working with Files 849

14. Working with Databases 907

15. Web-Based Applications 993

APPENDIX A Visual Studio Configuration 1089

APPENDIX B Code Editor Tools 1107

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
vi | C# Programming: From Problem Analysis to Program Design, Fifth Edition

APPENDIX C Character Sets 1123

APPENDIX D Operator Precedence 1125

APPENDIX E C# Keywords 1127

GLOSSARY 1129

INDEX 1143

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
TABLE OF CONTENTS

© zeljkodan/Shutterstock.com

Preface xxiii

INTRODUCTION TO COMPUTING
1 AND APPLICATION DEVELOPMENT 1
History of Computers 2
System and Application Software 4
System Software 5
Application Software 7
Software Development Process 7
Steps in the Program Development Process 8
Programming Methodologies 15
Structured Procedural Programming 15
Object-Oriented Programming 18
Evolution of C# and .NET 21
Programming Languages 21
.NET 23
Why C#? 25
Types of Applications Developed with C# 26
Web Applications 27
Windows Applications 28
Console Applications 28
Exploring the First C# Program 29
Elements of a C# Program 30
Comments 30
Inline Comments 31
Multiline Comments 31

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
viii | C# Programming: From Problem Analysis to Program Design, Fifth Edition

XML Documentation Comments 32


Using Directive 32
Namespace 35
Class Definition 36
Main( ) Method 36
Method Body Statements 38
Compiling, Building, and Running an Application 42
Typing Your Program Statements 42
Compilation and Execution Process 42
Compiling the Source Code Using Visual Studio IDE 43
Debugging an Application 50
Syntax Errors 50
Run-time Errors 51
Creating an Application 52
Coding Standards 57
Pseudocode 57
Resources 58
Quick Review 59
Exercises 61
Programming Exercises 66

DATA TYPES AND EXPRESSIONS 71


2 Data Representation 72
Bits 72
Bytes 72
Binary Numbering System 72
Character Sets 75
Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte. . . 76
Memory Locations for Data 76
Identifiers 77
Variables 81
Literal Values 81

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | ix

Types, Classes, and Objects 82


Types 82
Classes 83
Objects 84
Predefined Data Types 85
Value Types 86
Integral Data Types 87
Floating-Point Types 90
Decimal Types 91
Boolean Variables 92
Declaring Strings 93
Making Data Constant 94
Assignment Statements 94
Basic Arithmetic Operations 98
Increment and Decrement Operations 100
Compound Operations 104
Order of Operations 106
Mixed Expressions 108
Casts 109
Formatting Output 110
Width Specifier 115
Coding Standards 125
Naming Conventions 125
Spacing Conventions 126
Declaration Conventions 127
Resources 127
Quick Review 127
Exercises 128
Programming Exercises 134

METHODS AND BEHAVIORS 137


3 Anatomy of a Method 138
Modifiers 140
Static Modifier 141
Return Type 142

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
x | C# Programming: From Problem Analysis to Program Design, Fifth Edition

Method Name 144


Parameters 144
Method Body 145
Calling Class Methods 146
Predefined Methods 148
Write( ) Method 149
WriteLine( ) Method 150
Read( ) Method 151
ReadLine( ) Method 153
ReadKey( ) Method 154
Parse( ) Method 154
Methods in the Math Class 157
Writing Your Own Class Methods 163
Void Methods 163
Value-Returning Method 165
Types of Parameters 170
Named and Optional Parameters 175
Default Values with Optional Parameters 176
Named Parameters 177
Coding Standards 186
Naming Conventions 186
Spacing Conventions 186
Declaration Conventions 186
Commenting Conventions 187
Resources 187
Quick Review 187
Exercises 188
Programming Exercises 195

CREATING YOUR OWN CLASSES 197


4 The Object Concept 198
Private Member Data 200
Constructor 204

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | xi

Writing Your Own Instance Methods 207


Accessor 208
Mutators 208
Other Instance Methods 209
Property 210
Auto Implemented Properties 212
ToString( ) Method 213
Calling Instance Methods 215
Calling the Constructor 215
Calling Accessor and Mutator Methods 217
Calling Other Instance Methods 218
Testing Your New Class 219
Coding Standards 244
Naming Conventions 244
Classes 244
Properties 244
Methods 245
Constructor Guidelines 245
Spacing Conventions 245
Resources 245
Quick Review 246
Exercises 247
Programming Exercises 253

MAKING DECISIONS 257


5 Boolean Expressions 258
Boolean Results 258
Conditional Expressions 259
Equality, Relational, and Logical Tests 260
Short-Circuit Evaluation 268
Boolean Data Type 270
if. . .else Selection Statements 271
One-Way if Statement 271

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xii | C# Programming: From Problem Analysis to Program Design, Fifth Edition

Two-Way if Statement 276


TryParse( ) Method 278
Nested if. . .else Statement 283
Switch Selection Statements 289
Ternary Conditional Operator ? : 294
Order of Operations 295
Coding Standards 309
Guidelines for Placement of Curly Braces 309
Guidelines for Placement of else with Nested if Statements 310
Guidelines for Use of White Space with a Switch Statement 310
Spacing Conventions 311
Advanced Selection Statement Suggestions 311
Resources 311
Quick Review 312
Exercises 314
Programming Exercises 322

REPEATING INSTRUCTIONS 325


6 Why Use a Loop? 326
Using the While Statement 326
Counter-Controlled Loop 328
Sentinel-Controlled Loop 334
State-Controlled Loops 345
Using the for Statement Loop 348
Using the Foreach Statement 356
Using the Do. . .while Structure 357
Nested Loops 360
Recursive Calls 365
Unconditional Transfer of Control 368
Continue Statement 369
Deciding Which Loop to Use 370
Coding Standards 384
Guidelines for Placement of Curly Braces 385
Spacing Conventions 385
Advanced Loop Statement Suggestions 385

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | xiii

Resources 386
Quick Review 386
Exercises 388
Programming Exercises 394

ARRAYS 399
7 Array Basics 400
Array Declaration 401
Array Initializers 404
Array Access 406
Sentinel-Controlled Access 411
Using Foreach with Arrays 412
Array Class 413
Arrays as Method Parameters 419
Pass by Reference 420
Array Assignment 423
Params Parameters 425
Arrays in Classes 426
Array of User-Defined Objects 428
Arrays as Return Types 429
Coding Standards 447
Guidelines for Naming Arrays 447
Advanced Array Suggestions 447
Resources 447
Quick Review 447
Exercises 448
Programming Exercises 455

ADVANCED COLLECTIONS 459


8 Two-Dimensional Arrays 460
Rectangular Array 460
Jagged Array 470
Multidimensional Arrays 470
ArrayList Class 475
String Class 479

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xiv | C# Programming: From Problem Analysis to Program Design, Fifth Edition

String Methods 480


String Interpolation 484
Other Collection Classes 486
BitArray 486
Hashtable 487
Queue 490
Stack 491
Coding Standards 500
Guidelines for Naming Collections 500
Advanced Array Suggestions 500
Resources 500
Quick Review 500
Exercises 502
Programming Exercises 509

INTRODUCTION TO WINDOWS PROGRAMMING 513


9 Contrasting Windows and Console Applications 514
Graphical User Interfaces 516
Elements of Good Design 520
Consistency 520
Alignment 521
Avoid Clutter 521
Color 521
Target Audience 521
Using C# and Visual Studio to Create Windows-Based Applications 522
Windows Forms 526
Windows Forms Properties 526
Inspecting the Code Generated by Visual Studio 533
Comparing the Code of Example 9-1 with Example 9-2 534
Windows Forms Events 537
Controls 538
Placing, Moving, Resizing, and Deleting Control Objects 541
Methods and Properties of the Control Class 543
Derived Classes of the System.Windows.Forms.Control Class 545

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | xv

Coding Standards 581


Guidelines for Naming Controls 581
Resources 581
Quick Review 582
Exercises 583
Programming Exercises 588

PROGRAMMING BASED ON EVENTS 593


10 Delegates 594
Defining Delegates 594
Creating Delegate Instances 596
Using Delegates 596
Relationship of Delegates to Events 599
Event Handling in C# 599
Event-Handler Methods 600
ListBox Control Objects 601
Creating a Form to Hold ListBox Controls 601
ListBox Event Handlers 604
Multiple Selections with a ListBox Object 605
ComboBox Control Objects 612
Adding ComboBox Objects 613
Handling ComboBox Events 614
Registering other Events 615
Programming Event Handlers 615
MenuStrip Control Objects 617
Adding Menus 618
Adding Predefined Standard Windows Dialog Boxes 622
CheckBox and RadioButton Objects 630
CheckBox Objects 630
Adding CheckBox Objects 631
Registering CheckBox Object Events 631
Wiring One Event Handler to Multiple Objects 633
GroupBox Objects 634
RadioButton Objects 634

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xvi | C# Programming: From Problem Analysis to Program Design, Fifth Edition

Adding RadioButton Objects 634


Registering RadioButton Object Events 636
Windows Presentation Foundation (WPF) 639
TabControl Objects 645
Coding Standards 686
Resources 686
Quick Review 686
Exercises 688
Programming Exercises 695

Advanced Object-Oriented Programming Features 699


11 Object-Oriented Language Features 700
Component-Based Development 701
Inheritance 702
Inheriting from the Object Class 703
Inheriting from Other .NET FCL Classes 703
Creating Base Classes for Inheritance 704
Overriding Methods 707
Creating Derived Classes 709
Making Stand-Alone Components 715
Creating a Client Application to Use the DLL 725
Abstract Classes 729
Abstract Methods 730
Sealed Classes 733
Sealed Methods 734
Partial Classes 734
Creating Partial Classes 735
Interfaces 735
Defining an Interface 736
Implementing the Interface 737
.NET Framework Interfaces 742
Polymorphism 744
Polymorphic Programming in .NET 745
Generics 746

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | xvii

Generic Classes 746


Generic Methods 751
Dynamic 752
Dynamic data type 752
var data type 753
Coding Standards 773
Resources 774
Quick Review 774
Exercises 777
Programming Exercises 782

DEBUGGING AND HANDLING EXCEPTIONS 785


12 Errors 786
Run-Time Errors 787
Debugging in C# 788
Exceptions 796
Raising an Exception 800
Bugs, Errors, and Exceptions 801
Exception-Handling Techniques 803
Try. . .Catch. . .Finally Blocks 804
Exception Object 808
Exception Classes 810
Derived Classes of the Base Exception Class 810
ApplicationException Class 811
SystemException Class 811
Filtering Multiple Exceptions 813
Exception Filters 816
Throwing an Exception 820
Input Output (IO) Exceptions 821
Coding Standards 839
Resources 840
Quick Review 840
Exercises 841
Programming Exercises 846

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xviii | C# Programming: From Problem Analysis to Program Design, Fifth Edition

WORKING WITH FILES 849


13 System.IO Namespace 850
File and Directory Classes 852
File Class 852
Directory Class 857
FileInfo and DirectoryInfo Classes 858
File Streams 860
Writing Text Files 863
Reading Text Files 869
Adding a Using Statement 873
Random Access 875
BinaryReader and BinaryWriter Classes 876
Other Stream Classes 882
FileDialog Class 883
Coding Standards 897
Resources 897
Quick Review 897
Exercises 899
Programming Exercises 904

WORKING WITH DATABASES 907


14 Database Access 908
Database Management Systems 908
ADO.NET 910
Data Providers 911
Retrieving Data from the Database 916
Processing the Data 920
Updating Database Data 928
Using Datasets to Process Database Records 929
Adding a DataGridView Control to Hold the Dataset 932
Data Source Configuration Tools 937
Add New Data Source 938
Dataset Object 946
TableAdapterManager 956

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | xix

DataSet Designer 957


Connecting Multiple Tables 968
Language-Integrated Query (LINQ) 975
Query Expressions 976
Implicitly Typed Local Variables 979
Coding Standards 982
Resources 982
Quick Review 982
Exercises 985
Programming Exercises 990

WEB-BASED APPLICATIONS 993


15 Web-Based Applications 994
Web Programming Model 994
Static Pages 995
Dynamic Pages 998
ASP.NET 1000
Visual Studio for Web Development 1000
ASP.NET Programming Models 1001
Web Forms Page 1002
ASP.NET Web Forms Site 1003
Master Pages 1008
Cascading Style Sheet (CSS) 1012
ASP.NET Empty Web Site 1016
Controls 1019
HTML Controls 1019
HTML Server Controls 1025
Web Forms Standard Server Controls 1029
Available Web Forms Controls 1030
Web Forms Controls of the Common Form Type 1031
Adding Common Form-Type Controls 1035
Validation, Custom, and Composite Controls 1038
Validation Controls 1038
Calendar Control 1043

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xx | C# Programming: From Problem Analysis to Program Design, Fifth Edition

GridView Control 1050


AccessDataSource 1060
Using Visual Tools to Connect 1060
Store Databases in App_Data Folder 1062
Setting the Visibility Property 1066
Other Controls 1068
Mobile Applications 1071
Xamarin.Forms 1073
iOS Apps 1074
Android Apps 1074
Windows Phone Apps 1075
Silverlight 1075
Universal Apps 1076
Running the App 1078
Deploying to an Emulator 1078
Coding Standards 1079
Resources 1079
Quick Review 1080
Exercises 1082
Programming Exercises 1087

APPENDIX A: VISUAL STUDIO CONFIGURATION 1089


Customizing the Development Environment 1089
Environment 1091
Projects and Solutions 1094
Text Editor 1095
Debugging 1099
HTML Designer 1100
Windows Forms Designer 1101
Other Options Settings 1102
Choose Toolbox Items 1102
Customize the Toolbars 1103
Configure and Save Windows Layouts 1104

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents | xxi

APPENDIX B: CODE EDITOR TOOLS 1107


IntelliSense 1107
Syntax Coloring 1108
Colorized Tooltips 1108
Error and Warning Marks 1109
Quick Action Light Bulb Icon 1110
Peek Definition 1112
Refactoring 1112
Extract Method 1113
Rename 1114
Other Refactoring Options 1115
Code Snippets 1115
Working with Class Diagrams 1117
Class Details View 1118
Using the Class Diagram to Add Members 1120
Other Code Editor Tips 1121

APPENDIX C: CHARACTER SETS 1123

APPENDIX D: OPERATOR PRECEDENCE 1125

APPENDIX E: C# KEYWORDS 1127

GLOSSARY 1129

INDEX 1143

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
P R E FA C E

© zeljkodan/Shutterstock.com

C# Programming: From Problem Analysis to Program Design requires no previous


introduction to programming but only a mathematical background of high-school
algebra. The book uses C# as the programming language for software development;
however, the basic programming concepts presented can be applied to a number
of other languages. Instead of focusing on the syntax of the C# language, this book
uses the C# language to present general programming concepts. It is the belief of
the author that once you develop a thorough understanding of one programming
language, you can effectively apply those concepts to other programming languages.

Why C#?
C# has gained tremendous popularity in the industry. C# is a true object-oriented lan-
guage that includes a rich set of instruction statements. C# was the language used for
development of much of .NET, the Microsoft programming paradigm that includes a
collection of more than 2,000 predefined classes that make up the Framework Class
Library (FCL). Thus, C# has access to a large collection of predefined classes similar
to those available to Java. C# provides tools that make it easy to create graphical user
interfaces—similar to the tools Visual Basic programmers have employed for years.
C# also provides the pure data crunching horsepower to which C/C++ programmers
have become accustomed. However, unlike other languages, C# was designed from
scratch to accommodate Internet and Windows applications. C# is an elegant and
simple object-oriented language that allows programmers to build a breadth of appli-
cations. C# is also a great language for mobile application development. It can run on
not only Windows platforms but is very portable and can run on Android and iOS
devices. For these reasons, C# was chosen as the language for this book.

Going Beyond the Traditional CS1 Course


This book was written for the Computer Science 1 (CS1) student and includes all of
the basic programming constructs normally covered in the traditional CS1 foundation
course for the Computer Science curriculum. Readers begin developing applications

Copyright 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Exploring the Variety of Random
Documents with Different Content
Tybeert dede ic muse vaen,
Daer ickene zeere dede slaen,
Tes papen huus daer hi spranc int strec.33
Ic hebbe ghedaen groet ongherec
1470Canticleer ende sine kindre:
Waren si meerre ofte mindre,
Dicken makedicse los.
Dor recht beclaghet hi den vos.
Die coninc en es mi oec niet ontgaen:
1475Ic hebbe hem toren oec ghedaen
Ende mesprijs der coninghinne,
Datsi spade sullen verwinnen
Also vele eeren van mi.
Oec hebbic, dat segghic di,
1480Grimbert, mee liede bedroghen
Dan ic di soude ghesegghen moghen.
Ende Ysengrijn, dat verstaet,
Hietic oem dor baraet.
Ic maectene moonc ter Elmaren,
1485Daer wi beede begheuen waren:
Dat wart hem al te zeere te pinen.
Ic dede hem an die clocke-lijnen
Binden beede sine voete.
Dat luden wart hem doe so soete
1490Dat hijt emmer wilde leeren:
Dat verghinc hem tonneeren,
Want hi luudde so vtermaten, (fo. 201c)
Dat alle die ghinghen bi der straten,
Ende waren binnen der Elmare
1495Waenden dat die duuel ware
Ende liepen daer si luden hoerden.
Eer hi doe conste in corten woerden
Ghespreken: ‘ic wille mi begheuen,’
Hadsi hem na ghenomen tleuen.
1500Sint dedic hem crune gheuen.
Hem maechs ghedincken al zijn leuen:
Dat weetic wel ouer waer.
Ic dede hem af bernen dat haer,
So dat hem die zwaerde cramp.
1505Sint dedic hem meerren scamp
Vp thijs, daer icken leerde visschen
Daer hi mi niet conste ontwisschen.
Hi ontfincker meneghen slach.
Sint leeddickene vp eenen dach
1510Tote des papen van Ambloys.34
In al dat lant van Vermendoys
So en woende gheen pape riker.
Die selue pape hadde eenen spijker
Daer menich vet bake in lach:
1515Des haddic dicken goet ghelach.
Onder dien spijker haddic een gat
Verholenlike ghemaect: in dat
Daer dedic Ysingrijn in crupen.
Daer vant hi rentvleesch in cupen
1520Ende baken hanghende vele.
Des vleesch dedi dor sine kele
So vele gheliden vtermaten:
Als hi weder huten gate
Waende keeren huter noet,
1525Hem was dien leeden buuc so groet
Dat hi beclaghede zijn ghewin.
Daer hi was commen ongherich in,
Ne condi sat35 niet commen huut.
Ic liep, ic maecte groet gheluut
1530Int dorp ende maecte groet gherochte.
Nu hoert wat ic daer toe brochte.
Ic liep aldaer die pape zat
Te ziere taflen ende hat.
Die pape hadde eenen cappoen. (fo. 201d)
1535Dat was dat alre beste hoen
Dat men in al dat lant vant.
Hi was ghewent al toter hant.
Dien prandic in minen mont,
Voer die tafle daer hi stont,
1540Al daert die pape toe sach.
Doe riep die pape: ‘nu vanc,36 slach!
Helpe, wie sach dit wonder nye?
Die vos comt, daer ic toe zye,
Ende roeft mi in mijns selues37 huus.
1545So helpe mi sancta spiritus,
Te wers hem dat hire quam!’
Dat tafel-mes hi vp nam
Ende stac de tafle, datso vloech
Verre bouen mi arde hoech
1550In midden-waerde vp den vloer.
Hi vloucte zeere ende zwoer
Ende hi riep lude: ‘slach ende va!’
Ende ic voeren ende hi na.
Sijn tafel-mes haddi verheuen
1555Ende brochte mi ghedreuen
Vp Ysingrijn daer hi stont.
Ic hadde dat hoen in minen mont
Dat arde groet was ende zwaer.
Datso moestic laten daer,
1560Waest mi leet ofte lief.
Doe riep die pape: ‘ay, heere dief,
Ghi moet den roef hier laten!’
Hi riep ende ic ghinc miere straten
Danen daer ic wesen woude.
1565Alse die pape vp heffen soude
Dat hoen, sach hi Ysingrine:
Doe naecte hem eene grote pine.
Hi warpene int hoeghe metten messe.
Den pape volchden si zesse,
1570Die alle met groeten stauen quamen,
Ende als si Ysingrijn vernamen
Doe maecten si een groet gheluut,
Ende die ghebuere quamen huut
Ende maecten grote niemare
1575Manlic andren, dat daer ware
In spapen spijker een wulf gheuaen, (fo. 202a)
Die hem seluen hadde ghedaen38
Bi den buke in dat gat.
Als die ghebuere ghevreescheden dat
1580Liepen si dat wonder bescauwen.
Al daer wart Ysingrijn te-blauwen,
So dat hem ghinc al huten spele:
Want hi ontfincker arde vele
Groete slaghe ende groete worpe.
1585Dus quamen die kindre van den dorpe
Ende verbonden hem die hoghen.
Het stont hem so, hi moest ghedoghen.
So zeere slouch-si ende staken
Dat sine huten gate traken
1590(Doe ghedoghedi vele ongheuals)
Ende bonden hem an sinen hals
Eenen steen, ende lietene gaen
Ende lietene dien39 honden saen
Diene ghinghen bassen ende jaghen.
1595Oec diende men hem met groten slaghen
So langhe, dat hi gheloue was.
Doe viel hi neder vp dat gras,
Of hi ware al steen-doot.
Doe was dier kindre bliscap groot.
1600Ghindre was groete niemare.
Si namene ende leidene vp eene bare
Ende droughene met groten ghehuke
Ouer steene ende ouer struke.
Buten dien dorpe in eene gracht
1605Bleef hi ligghende al dien nacht.
Inne weet hoe hi danen voer.
Sint verweruic dat hi mi zwoer
Sine hulde een jaer al omtrent.
Dat dedi vp sulc conuent
1610Dat icken soude maken hoenre sat.
Doe leeddickene in eene stat,
Daer ic hem dede te verstane
Dat twee hinnen ende eenen hane
In een groet huus an eere straten
1615Vp eenen aenbalke saten
Recht teere valdore bi.
Daer dedic Ysingrijn bi mi
Vp dat huus clemmen bouen. (fo. 202b)
Ic seide, ic wilde hem ghelouen,
1620Wildi crupen in die valdore,
Dat hire soude vinden vore
Van vetten hoenren sijn gheuouch.
Ter valdore ghinc hi ende louch,
Ende croep daer in met vare
1625Ende began tasten haren-thare.
Hi taste, ende als hi niet en vant,
Sprac hi: ‘neve, hets hier bewant
Te zorghen, ic ne vinder niet.’
Ic sprac: ‘oem, wats nu ghesciet?
1630Cruupter een lettel bet in.
Men moet wel pijnen om ghewin.
Ic hebse wech diere saten voren.’
Dus so liet hi hem verdoren
Dat hi die hoenre te verre sochte.
1635Ic sach dat icken hoenen mochte,
Ende hoendene, so dat hi voer
Van daer bouen vp den vloer
Ende gaf eenen groeten val,
Datsi ontspronghen ouer al
1640Die in dien huse sliepen.
Die bi den viere laghen, si riepen:
Daer ware in huus sine wisten wat
Gheuallen voer dat vyer-gat.40
Si worden vp ende ontstaken lecht.
1645Doe sine daer saghen echt
Wart hi ghewont toter doot.
Ic hebben brocht in menegher noot,
Meer dan ic ghesegghen mochte.
Nochtan al dat ic nye ghewrochte
1650Jeghen hem, sone roucke ic niet
Zo zeere, als dat ic verriet
Vrauwe Erswenden,41 sijn scone wijf,
Die hi lieuer hadde dan sijns selfs lijf.
God die moet mi vergheuen.
1655Haer dedic dat mi lieuer ware bleuen
Te doene, dant es ghedaen.’
Grimbeert sprac: ‘of ghi wilt gaen
Claerliken te biechten tote mi
Ende zijn van huwen zonden vry,
1660So suldi spreken ombedect. (fo. 202c)
In weet waer-waert ghi dit trect:
‘Ic hebbe ieghen sijn wijf mesdaen.’
Oem, dat en can ic niet verstaen,
Waer ghi dese tale keert.’
1665Reynaert sprac: ‘neve Grimbeert,
Ware dat hoofschede groot,
Of ic hadde gheseit al bloot:
‘Ic hebbe gheslapen bi miere moyen?’
Ghi zijt mijn maech: hu souts vernoyen,
1670Seidic eeneghe dorperheit.
Grimbeert, nu hebbic hu gheseit
Al dat mi mach ghedincken nu.
Gheeft mi aflaet, dat biddic hu,
Ende settet mi dat hu dinct goet.’
1675Grimbeert was wijs ende vroet
Ende brac een rijs van eere haghe
Ende gaffer mede .xl. slaghe
Ouer alle sine mesdaden.
Daer na in gherechten raden
1680Riet hi hem goet te wesene
Ende te wakene ende te lesene
Ende te vastene ende te vierne
Ende te weghe waert te stierne
Alle die hi buten weghe saghe:
1685Ende hi voert alle sine daghe
Behendelike soude gheneeren.
Hier na so dedi hem verzweeren
Beede rouen ende stelen.
Nu moet hi siere sielen telen,42
1690Reynaert, bi Grimbeerts rade,
Ende ghinc te houe vp ghenade.
Nv es die biechte ghedaen.
Die heeren hebben den wech bestaen
Tote des conincs houe waert.
1695Nu was buter rechter vaert,
Dien si te gane hadden begonnen,
Een pryoreit van zwarten nonnen,
Daer meneghe gans ende menich hoen,
Meneghe hinne, menich cappoen
1700Plaghen te weedene buten muere.
Dit wiste die felle creatuere,
Die onghetrauwe Reynaert,
Ende sprac: ‘te ghenen houe waert (fo. 202d)
So leghet onse rechte strate.’
1705Met dusdanen barate
Leedde hi Grimbeert bi der scueren,
Daer die hoenre buten muere
Ghinghen weeden haren-thare.
Den hoenre wart Reynaert gheware.
1710Sine oghen begonden omme te ghane.
Buten den andren ghinc een hane,
Die arde vet was ende jonc:
Daer na gaf Reynaert eenen spronc
So dat dien hane die plumen stouen.
1715Grimbeert sprac: ‘oem, ghi dinct mi douen!
Onsalich man, wat wildi doen?
Wildi noch om een hoen
In alle die groete zonden slaen,
Daer ghi te biechten af zijt ghegaen?
1720Dat moet hu wel zeere rauwen.’
Reynaert sprac: ‘bi rechter trauwen,
Ic hads vergheten, lieue neve.
Bidt Gode dat hijt mi vergheue!
Het ne ghesciet mi nemmermeer.’
1725Doe daden si eenen wederkeer
Ouer eene smale brugghe.
Hoe dicken sach Reynaert achter rugghe
Weder daer die hoenre ghinghen!
Hine conste hem niet bedwinghen
1730Hine moeste ziere zeden pleghen:
Al haddemen hem thoeft af ghesleghen,
Het ware ten hoenren waert gheuloghen,
Also verre alst hadde ghemoghen.
Grimbeert sach dit ghelaet
1735Ende seide: ‘onreyne vraet,
Dat hu dat hoghe so omme gaet!’
Reynaert andwoerde: ‘ghi doet quaet
Dat ghi mine herte so versmaert43
Ende mine bede dus verstorbeert.
1740Laet mi doch lesen .ij. pater nooster,
Der hoenre zielen van den cloester
Ende den gansen te ghenaden,
Die ic dicken hebbe verraden,
Die ic44 desen heleghen nonnen
1745Met miere lust af hebbe ghewonnen.’
Grimbeert balch, ne waer Reynaert (fo. 203a)
Hadde emmer zine oghen achterwaert,
Tes si quamen ter rechter straten.
Doe began hem drouue ghelaten
1750Ende arde zeere beefde Reynaert
(Daer keerde-si te houe waert),
Doe hi began den houe naken,
Daer hi waende seere mesraken.
Doe in sconinx hof was vernomen
1755Dat Reynaert ware te houe comen
Met Grimbeerde den das,
Ic wane daer niemene ne was
So arem no van so crancken maghen,
Hine ghereedde hem vp een claghen:
1760Dit was al ieghen Reynaerde.
Nochtan dedi als die onueruaerde,
Hoe so hem te moede was,
Ende hi sprac te Grimbeerte den das:
‘Leedet ons die hoechste strate.’
1765Reynaerd ghinc in dien ghelate
Ende in also bouden ghebare,
Ghelijc of hi sconinx sone ware
Ende hi niet en hadde mesdaen.
Boudeliken ghinc hi staen
1770Voer Nobele dien coninc,
Ende sprac: ‘God, die alle dinc
Gheboet, hi gheue hu, coninc heere,
Langhe bliscap ende eere!
Ic groet hu, coninc, ende hebbe recht.
1775En hadde nye coninc eenen knecht
So ghetrauwe ieghen hem
Als ic oyt was ende bem:
Dat es dicken worden anschijn.
Nochtan die sulke die hier zijn
1780Souden45 mi nochtan gherne rouen
Huwer hulden, wilde ghi hem ghelouen.
Maer neen ghi niet: God moete hu lonen!
Het en betaemt niet der cronen
Datsi den scalken ende den fellen
1785Te lichte ghelouen datsi vertellen.
Nochtan willics Gode claghen:
Dier es te vele in onsen daghen,
Der scalke, die wroughen connen, (fo. 203b)
Die niet ter rechter hant hebben ghewonnen
1790Ouer al in rike houe:
Dien salmen niet ghelouen.
Die scalcheit es hem binnen gheboren,
Datsi den goeden lieden doen toren:
Dat wreke God vp haer leuen,
1795Ende moete hem eewelike gheuen
Al sulken loen als si zijn waert!’
Die coninc sprac: ‘o wy, Reynaert,
O wy, Reynaert, onreyne quaet,
Wat condi al scone ghelaet!
1800Dat en can hu niet ghehelpen een caf.
Nu comt huwes smeekens af.
In werde bi smeekene niet hu vrient.
Hets waer, ghi sout mi hebben ghedient
Van eere saken in den woude,
1805Daer ghi qualic in hebt ghehouden
Die eede, die ic hadde ghezworen.’
‘O wy, wat hebbic al verloren,’
Sprac Canticleer die daer stont.
Die coninc sprac: ‘hout huwen mont,
1810Heere Canticleer, nu laet mi spreken,
Laet mi antwoerden sinen treken.
Ay, heere dief Reynaert,
Dat ghi mi lief hebt ende waert,
Dat hebdi sonder huwe pine
1815Mine boden laten anschine:
Arem man Tybeert, heere Brune,
Die noch bloedich es zijn crune.
Ic ne sal hu niet scelden:
Ic waent hu kele sal ontghelden
1820Noch heden al vp eene wijle.’
‘Nomine patrum christum filye!’
Sprac Reynaert, ‘of mijn heere Brune
Noch al bloedich es die crune,
Was hi te-blauwen of versproken:
1825Waer hi goet, hi ware ghewroken,
Eer hi noint vloe int water.
Bander zijde Tybeert die cater,
Dien ic herberghede ende ontfinc,
Of hi hute om stelen ghinc
1830Tes papen, sonder minen raet, (fo. 203c)
Ende hem die pape dede quaet:
Bi Gode, soudic dat ontghelden,
So mochtic mijn gheluc wel scelden.’
Voert sprac Reynaert: ‘coninc Lyoen,
1835Wien twifelt des, ghine moghet doen
Dat ghi ghebiet ouer mi?
Hoe groot mine sake46 zi,
Ghi moghet mi vromen ende scaden.
Wildi mi zieden ofte braden
1840Ofte hanghen ofte blenden,
Ic ne mach hu niet ontwenden.
Alle diere zijn in hu bedwanc.
Ghi zijt groet ende ic bem cranc,
Mine hulp es cleene ende dhuwe groet:
1845Bi Gode, al slouchdi mi doot,
Dat ware eene crancke wrake,
Recht in dese selue sprake.’
Doe spranc vp Belin de ram
Ende sine hye, die met hem quam,
1850Dat was dame Hawy.
Belin sprac: ‘ga wy
Alle voert met onser claghen!’
Bruun spranc vp met sinen maghen,
Ende Tybeert die felle,
1855Ende Ysingrijn sijn gheselle,
Forcondet dat euer-zwijn
Ende die rauen Tyecelijn,47
Pancer die beuer, ooc48 Bruneel,
Dat water-var, dat butseel,
1860Ende dat een-coren, heere Rosseel,
Dieweline, die vrauwe fine,
(Cantecleer ende die kindre zine
Makeden groten vederslach),
Dat foret Cleene-beiach:
1865Liepen alle in dese scare.
Alle dese ghinghen openbare
Voer haren heere, den coninc, staen
Ende daden Reynaerde vaen.
Nv ghinct ghindre vp een playdieren.
1870Nye hoerde man van dieren
So scone tale, als nu es hier
Tusschen Reynaerde ende dandre dier, (fo. 203d)
Voert bringhen, diemen brochte daer,
Het ware mi pijnlic ende zwaer,
1875Daer omme corte ic hu de woort.
Die beste redenen ghinghen daer voort,
Die claghen, die de dieren ontbonden,
Proufden si met goeden orconden,
Als si sculdich waren te doene.
1880Die coninc dreef die hoeghe baroene
Te vonnesse van Reynaerts saken.
Doe wijsden si datmen soude maken
Eene galghe sterc ende vast,
Ende men Reynaerde, den fellen gast,
1885Daer an hinghe bi ziere kelen.
Nu gaet Reynaerde al huten spele.
Doe Reynaert verordeelt was,
Orlof nam Grimbeert die das
Met Reynaerts naeste maghen.
1890Sine consten niet verdraghen
No sine consten niet ghedoghen,
Datmen Reynaerde voer haren oghen
Soude hanghen alse eenen dief.
Nochtan waest hem somen lief.
1895Die coninc hi was arde vroet:
Doe hi mercte ende verstoet,
Datso menich ionghelinc
Met Grimbeerte huten houe ghinc,
Die Reynaerde na bestoet,
1900Doe peinsdi in sinen moet:
‘Hier mach in loepen andren raet.
Al es Reynaert selue quaet,
Hi heuet meneghen goeden maech.’
Doe sprac hi: ‘twi sidi traech,
1905Ysingrijn ende heere Bruun?
Reynaerde es cont menich tuun,
Ende hets den auonde bi:
Hier es Reynaert, ontsprinct hi,
Comt hi .iij. voete huter noot,
1910Sinen lust die es so groot,
Ende hi weet so meneghen keer,
Hine wert ghevanghen tsiaermeer.
Salmen hanghen, twine doetment dan?
Eer men nu ghereeden can (fo. 204a)
1915Eene galghe, so eist nacht.’
Ysingrijn was wel bedacht
Ende sprac: ‘hier es een galghe bi.’
Ende mettien woerde versuchte hi.
Doe sprac die cater, heere Tybeert:
1920‘Heere Ysingrijn, hu es verzeert
Hu herte, in wancans49 hu niet.
Nochtan Reynaert diet al beriet
Ende selue mede ghinc,
Daermen huwe twee broeders hinc,
1925Rumen ende Wijde-lancken:
Hets tijt, wildijs hem dancken.
Waerdi goet, het ware ghedaen,
Hine ware noch niet onuerdaen.
Ysingrijn sprac tote Tybeert:
1930‘Wat ghi ons al gader leert!
Ne ghebrake ons niet een strop,
Langhe heden wist zijn crop
Wat zijn achter-hende mochte weghen!
Reynaerd, die langhe hadde ghesweghen,
1935Sprac: ‘ghi heeren, cort mine pine.
Tybeert heeft eene vaste lijne
Die hi beiaghede an sine kele,
Daer hi vernoys hadde vele,
Int huus daer hi den pape beet,
1940Die voer hem stont al sonder cleet.
Her Ysingrijn, nu maect hu voren.
Ende sidi nu daer toe vercoren,
Ende ghi Brune, dat ghi sult dooden
Reynaert, huwen neve, den fellen roden!’
1945Doe so sprac die coninc saen:
‘Doet Tybeerte mede gaen:
Hi mach clemmen, hi mach de lijne
Vp draghen sonder huwe pijne.
Tybeert, gaet voren ende maect ghereet.
1950Dat ghi yet let, dats mi leet!’
Doe sprac Ysingrijn tote Brune:
‘So helpe mi de cloester-crune
Die bouen vp mijn hoeft staet,
In hoerde nye so goeden raet
1955Alse Reynaert selue gheuet hier.
Hem langhet omme cloester-bier: (fo. 204b)
Nu gaen wi voeren ende bruwen hem!’
Bruun sprac: ‘neve Tybeert, nem
Die lijne, du salt mede loepen.
1960Reynaert die salt nu becoepen,
Mijn scone liere ende dine hoghe.
Ghawi ende hanghene so hoghe,
Dats lachter hebben al sine vrient!’
‘Gha-wi, hi heues wel verdient,’
1965Sprac Tybeert ende nam de lijne.
Hine dede nye so lieue pine.
Nv waren die drie heeren ghereet,
Die Reynaert hadde harde leet,50
Dat was die wulf ende Tybeert
1970Ende der Bruun, die hadde gheleert
Honich stelen te zinen scaden.
Ysingrijn was so beraden,
Eer hi van den houe sciet,
Hine wilde des laten niet
1975Hine vermaende nichten ende neven
Ende alle, die binnen den houe bleuen,
Beede ghebuere ende gaste,
Datsi Reynaerde hilden vaste.
Vrauwe Arsenden zinen wiue
1980Beual hi bi haren liue,
Datso stonde bi Reynaerde
Ende soene name bi den baerde
Ende van hem niet ne sciede
No dor goet no dor miede
1985No dor niet no dor noet
No dor zorghe van der doot.
Reynaert andwoerde in corten woorden,
Dat alle die daer waren horden:
‘Heere Ysingrijn, half ghenade!
1990Al ware hu lief mijn grote scade
Ende al brincdi mi in vernoye:
Ic weet wel, soude mijn moye
Te rechte ghedincken ouder daet,
Sone dade mi nemmermeer quaet.
1995Maer her Ysingrijn, soete oem,
Ghi neemt huwes neven crancken goem,
Ende heere Brune ende heere Tybeert,
Dat ghi mi dus hebt onneert:
Ghi drie ghi hebbet ghedaen al, (fo. 204c)
2000Datmen mi ontliuen sal.
Daer toe hebdi ghemaket
Datso wie die mi ghenaket
Sceldet mi dief of heuet leet.
Daer omme moetti, God weet,
2005Gheonneert werden alle drie,
Ghine haest dat gescie
Al dat ghi begaert te doene!
Mi es dat herte noch also coene:
Ic dar wel steruen eene waerf.
2010Ne wart mijn vader, doe hi staerf,
Van alle sinen zonden vry?
Gaet, ghereet die galghe, of ghi
Een twint mi langher niet ne spaert,
Of varen moetti inderwaert,
2015Alle huwe voete ende huwe been!’
Doe sprac Ysingrijn: ‘ameen!’
‘Amen,’ sprac Brune, ‘ende hinderwaert
Moet hi varen die langher spaert!’
Tybeert sprac: ‘nu haesten wy!’
2020Ende mettien woerde spronghen zi
Ende liepen voert arde blide
Ende pijnden hem ten strijde
Te springhene ouer meneghen tuun,
Ysingrijn ende heere Bruun.
2025Tybeert volchde hem naer:
Hem was die voet een lettel zwaer
Van der lijnen, die hi drouch.
Nochtan was hi rasch ghenouch:
Dat dede hem al die goede wille.
2030Reynaert stont ende zweech al stille
Ende sach sine viande loepen,
Die hem dat strec an waenden cnoepen,
‘Maer het sal bliuen,’ sprac Reynaert,
Die staet ende scauwet daer-waert,
2035Ende si springhen ende si keeren.
Hi peinsde: ‘deus, wat joncheeren!
Nu laetse springhen ende loepen.
Leuic, si sullent noch becoepen,
Hare ouerdaet ende hare scampye,
2040Mine ghebreke reynaerdye.
Nochtanne zijn si mi (fo. 204d)
Lieuer verre danne bi,
Die ghene die ic meest ontsach.51
Nu willic prouuen dat ic mach
2045Te houe bringhen een baraet,
Dat ic voer de dagheraet
In groter zorghen vant te nacht.
Heuet mine lust sulke cracht
Alsic noch hope datso doet:
2050Al es hi lustich ende vroet,
Ic wane den coninc noch verdoren.’
Die coninc dede blasen eenen horen
Ende hiet Reynaerde huut-waert leeden.
Reynaert sprac: ‘laet teerst ghereeden
2055Die galghe, daer ic an hanghen sal,
Ende daer-binnen so sal ic al
Den volcke mine biechte conden,
In verlanessen van minen zonden.
Hets beter dat al tfolc verstaet
2060Mine diefte ende mine ondaet,
Dan si namaels eeneghen man
Mine ouerdaet teghen an.’
Die coninc sprac: ‘nu segghet dan.’
Reynaert stont als een drouue man
2065Ende sach al omme haren-thare.
Daer so sprac hi al openbare:
‘Helpe,’ seit hi, ‘dominus!
Nu en es hier niemen in dit huus,
No vrient no viant, ic ne bem
2070Een deel mesdadich ieghen hem.
Nochtan horet alle, ghi heeren:
Laet v52 wijsen ende leeren,
Hoe ic Reynaert aermijnc
Eerst an die boesheit vinc.
2075In allen tijden spade ende vroe
Wasic een houesch kint noch doe.
Doemen mi spaende van der mammen,53
Ghinc ic spelen metten lammen
Dor te hoerne dat ghebleet,
2080So dat ic een verbeet.
Ten eersten lapedic dat bloet:
Het smaecte so wel, het was so goet,
Dat ic dat vleesch mede ontgan. (fo. 205a)
Daer leerdic leckernie an,
2085So vele dat ic ghinc ten gheeten
Int wout, daer icse hoerde bleeten.
Daer verbeetic hoekine twee.
So dedic des derdes daghes mee,
Ende ic wart bouder ende coene
2090Ende verbeet haenden ende hoene
Ende gansen, daer icse vant.
Doe mi bloedich wart mijn tant,
Was ic so fel ende so wreet
Dat ic zuuer vp verbeet
2095Al dat ic vant ende wat mi dochte,
Dat mi bequam ende dat ic vermochte.
Daer na quam ic ende Ysingrine
Te wintre, in eenen couden rijme,
Bi Besele onder eenen boem.
2100Hi rekende dat hi ware mijn oem
Ende began eene sibbe tellen.
Al daer worden wi ghesellen:
Dat mach mi te rechte rauwen.
Daer gheloofden wi bi trauwen
2105Recht gheselscap manlic andren.
Doe begonsten wi te gader wandelen:
Hi stal tgroete ende ic dat cleene.
Dat wi beiaechden wart ghemeene.
Ende als wi deelen souden doe,
2110Ic was in hueghen ende vroe,
Mochtic mijn deel hebben half.
Alse Ysingrijn beiaghede een calf
Of eenen weder of eenen ram,
So grongierdi ende maecte hem gram,
2115Ende toechde mi een ghelaet,
Datso zuer was ende so quaet,
Dat hi mi daermet van hem verdreef
Ende hem mijn deel al gader bleef.
Nochtan hachtic niet van dien.
2120So menich waeruen hebbic versien:
Alse wi een groete proye lagheden,
Die ic ende mijn oem beiagheden,
Eenen osse of eenen bake,
Doe ghinc hi sitten met ghemake
2125Met sinen wiue vrauwe Harsenden (fo. 205b)
Ende met sinen .vij. kindren:
Sone mochtic cume deene hebben
Van den alre mintsten rebben,
Die sine kindre hadden ghecnaghet.
2130Dus nauwe hebbic mi beiaghet.
Nochtan dat was mi lettel noot:
Ne waer dat mijn zin so groot
Die lieue drouch te minen oem,
(Die mijns nemet crancken goem)
2135Ic hadde ghewonnen wel tetene.
Coninc, dit doe ic hu te wetene:
Ic hebbe noch seluer ende gout,
Dat al es in mier ghewout,
So vele dat cume een waghen
2140Te .vij. waeruen soude ghedraghen.’
Alse die coninc dit verhoerde,
Gaf hi Reynaerde felle andwoerde:
‘Reynaert, wanen quam hu die scat?’
Reynaert andwoerde: ‘ic segghu dat,
2145Wijldijt weten also ict weet,
No dor lief no dor leet
Sone salt danne bliuen verholen.
Coninc, dien scat was bestolen.
Ne waer hi oec ghestolen niet,
2150Daer ware die moert bi ghesciet
An hu lijf, in rechter trauwen,
Dat alle huwen vrienden mochte rauwen.’
Die coninghinne wart veruaert
Ende sprac: ‘O wy, lieue Reynaert!
2155O wy, Reynaert, O wy, O wy!
O wy, Reynaert, wat sechdi?
Ic mane hu bider seluer vaert,
Dat ghi nu54 ons secht, Reynaert,
Die hu ziele varen sal,
2160Dat ghi ons secht de waerheit al
Openbare ende brinct voort,
Of ghi weet van eenegher moort
Of eenen mordeliken raet,
Die ieghen minen heere gaet,
2165Dat laet hier openbare horen!’
Nu hoert hoe Reynaert sal verdoren
Den coninc entie coninghinne, (fo. 205c)
Ende hi beweruen sal met zinne
Des conincx vrienscap ende sine hulde,
2170Ende hi buten haerre sculde
Brune ende Ysingrijn beede
Vp hief in groter onghereede
Ende in veeten ende in ongheual
Ieghen den coninc bringhen sal.
2175Die heeren, die nu waren so fier,
Datsi Reynaerde waenden bier
Te sinen lachtre hebben ghebrauwen:
Ic wane wel in rechter trauwen,
Dat hi sal weder mede blanden,
2180Dien si sullen drincken met scanden.
In eenen ghelate, met drouuen zinne
Sprac Reynaert: ‘edele coninghinne,
Al haddi mi nu niet ghemaent,
Ic bem een die steruen waent:
2185In laet niet ligghen vp mijn ziele.
Ende waert so dat mi gheuiele,
Mi stonder omme in de helle te sine,
Daer die torment es entie pine.
In dien dat die coninc milde
2190Een ghestille maken wilde,
Ic soude segghen met ghenaden
Hoe iammerlike hi was verraden
Te mordene van zinen lieden.
Nochtan diet alre meest berieden
2195Sijn som van minen liefsten maghen
Die ic noede soude bedraghen,
Ne daet die zorghe van der hellen,
Daermen seit dat si in quellen
Die hier steruen ende moort
2200Weten, sine bringhense voort.’
Dien coninc wart die herte zwaer
Ende sprac: ‘Reynaerd, sechstu mi waer?’
‘Waer?’ sprac Reynaert, ‘vraechdi mi des?
Iane weet ghi wel hoet met mi es?
2205Ne bewaent niet, edel coninc:
Al bem ic een aermijnc,
Hoe mochtic sulke moert ghetemen?
Waendi dat ic wille nemen
Eene55 loghene vp mine langhe vaert? (fo. 205d)
2210En trauwen neen ic,’ sprac Reynaert.
Bi der coninghinnen rade,
Die zeere ontsach des sconinx scade,
Gheboet die coninc openbare
Dat daer niemen so coene en ware,
2215Dat hi een wordekijn yet sprake
Tote dien dat Reynaert met ghemake
Hadde vulseit al sinen wille.
Doe zweghen si alle gader stille.
Die coninc hiet Reynaerde spreken.
2220Reynaert was van fellen treken.
Hem dochte scone zijn gheual.
Hi sprac: ‘nu zwighet ouer al,
Na dien dat es den coninc lief.
Ic sal hu lesen sonder brief
2225Die verraderen openbare,
So dat ic niemene en spare,
Dien ic te wroughene sculdich bem:
Dies lachter heuet scaems hem!’
Nv verneemt alle gader
2230Hoe Reynaerd sinen erdschen vader
Met verradenessen sal bedraghen,56
Ende eenen van sinen liefsten maghen:57
Dat was Grimberte den das,
Die hem hout van herten was.
2235Dat dede Reynaert omme dat,
Dat hi wilde datmen te bat
Sinen woerden gheloeuen soude
Van sinen vianden, of hi woude
Die verranesse tyen an.
2240Nu hoert hoe hi dies began.
Reynaert sprac: ‘wilen teer stonden
Hadde mine heere mijn vader vonden
Des coninx heymeliken scat
In eene verholnen stat.
2245Doe58 mijn vader hadde vonden
Den scat, wart hi in corten stonden
So ouerdadich ende so fier,
Dat hi veronweerde alle dier
Die sine ghenote te voren waren.
2250Hi dede Tyberte den kater varen
In Arttinen, dat wilde lant, (fo. 206a)
Al daer hi Brunen den beere vant.
Hi ontboet Brune grote Gods houde:
Ende hi in Vlaendren commen soude
2255Ende hi coninc wilde wesen.
Bruun wart vro van desen:
Hi hadt meneghen dach begaert.
Daer maecte hi hem te Vlaendren waert
Ende quam in Waes, int soete lant,
2260Daer hi minen vader vant.
Mijn vader ontboet Grimberte den wysen
Ende Ysingrijn den grijsen,
Tybeert die kater was die vijffte:59
Ende quamen teenen dorpe, hiet Hijfte.
2265Tusschen Hijfte ende Ghend
Hilden si haer paerlement
In eere belokenre nacht.
Daer quamen si bi sduuels cracht
Ende bi sduuels ghewelt,
2270Ende zwoeren daer an twoeste velt
Alle viue des coninx doot.
Nu hoert wonder alle groot
Watsi noch ouer een draghen:
Wilde yement van sconinx maghen
2275Dat weder-segghen, mijn vader soude
Met sinen seluere, met zinen goude
So den ghenen steken achtre,
Dat sijs souden hebben lachtre.
Dit weetic ende segghe hu hoe.
2280Eens morghins arde vroe
Gheuiel dat mijn neve die das
Van wine een lettel droncken was,
Ende lyet in verholnen rade minen
Wiue, miere vrauwen Hermelinen,
2285Ende al van pointe te pointe seide,
Daer si liepen an die heyde.
Mijn wijf es eene vremde vrauwe,
Ende gaf Grimberte hare trauwe
Dat verholen bliuen soude.
2290Ten eersten datso quam ten woude,
Daer ic was ende so mi vant,
So telde zoet mi te hant,
Ne waer het was al stillekine. (fo. 206b)
Oec seide zoet bi sulken lijcteekine,
2295Dat ict kende so waer,
Dat mi alle mine haer
Vp-waert stonden van groten vare.
Mine herte wart mi openbare
Also caut als een hijs,
2300Dies zijt seker ende wijs.
Die pude wijlen waren vry,
Ende oec so beclaechden hem zij
Datsi waren sonder bedwanc.
Ende si maecten een ghemanc
2305Ende so groet ghecray vp Gode,
Dat hi hem gaue bi sinen ghebode
Eenen coninc diese dwonghe:
Dies baden die houde entie ionghe
Met groten ghecraye, met groten ghelude.
2310God ghehoerde die pude
Teenen tijde van den jare
Ende sende hem den coninc hodeuare,
Diese verbeet ende verslant60
In allen landen daer hise vant,
2315Beede in water ende in velt,
Daer hise vant in sine ghewelt.
Hi dede hem emmer onghenade.
Doe claechden si, het was te spade,
Het was te spade, ic secht hu twy;
2320Sij die voren waren vry
Sullen sonder wederkeer
Sijn eyghin bliuen emmermeer,
Ende leuen eewelike in vare
Van den coninc hodeuare.
2325Ghi heeren, aerme ende rike,
Ic vruchte oec dies ghelike
Dat nu van hu soude gheuallen.
Doe droughic zorghe voer ons allen.
Dus hebbic ghezorghet voer hu:
2330Dies dancti mi lettel nu.
Ic kenne Brunen valsch ende quaet
Ende vul van alre ouerdaet.
Ic peinsde, worde hi onse heere,
Dat ontvruchtic arde zeere,
2335Dat wi alle waren verloren.
Ic kennen, den coninc,61 so wel gheboren
Ende soete ende goedertiere
Ende ghenadich allen dieren.
Het dochte mi bi allen dinghen
2340Eene quade manghelinghe,
Die ons ne mochte comen
Noch theeren noch te vromen.
Hier omme peinsdic ende poghede,
Mine herte grote zorghen62 ghedoghede
2345Hoe so erghe eene zake
Datso ghescort worde, ende brake
Mijns vaders bosen raet,
Die eenen dorper, eenen vraet
Coninc ende heere maken waende.
2350Emmer badic Gode ende maende
Dat hi den coninc minen heere
Behilde sine warelt-eere.
Bedi ic kenne wel dat,
Behilde mijn vader sinen scat,
2355Si souden wel des raets ghetelen
Onder hem ende sinen ghespelen
Dat die coninc worde verstoten.
In diepen ghepeinse ende in groten
Was ic dicken hoe ic dat
2360Soude vinden, waer die scat
Lach, die mijn vader hadde vonden.
Ic wachte nauwe tallen stonden
Minen vader ende leide laghen
In meneghen bosch, in meneghe haghen,
2365Beede in velde ende in woude.
Waer mijn vader, die lusteghe houde,
Henen trac ende henen liep.
Was het droghe, was het diep,
Waest bi nachte, waest bi daghe,
2370Ic was emmer in die laghe.
Waest bi daghe, waest bi nachte,
Ic was emmer in die wachte.
Up eene stont gheuiel daer nare
Dat ic mi decte met groten vare
2375Ende lach ghestrect neuen dheerde,
Ende van den scatte die ic begheerde
Gherne yewer hadde vernomen. (fo. 206d)
Doe saghic minen vader comen
Hute eenen hole gheloepen.
2380Doe began ic ten scatte hopen,
Bi den barate als ic hem sach
Drijuen, als ic hu segghen mach.
Want doe63 hi huten holle quam,
Sach ic wel ende vernam
2385Dat hi omme sach, ende merkedi
Of hem yemene ware bi.
Ende als hi niemene en sach,
Doe queddi den sconen dach
Ende stoppede dat hol met sande
2390Ende maectet ghelijc den andren lande.
Dat ic dit sach, ne wiste hi niet.
Doe saghic, eer hi danen sciet,
Dat hi den steert liet mede gaen,
Daer sine vore hadde ghestaen,
2395Ende decte sijn spore metter mouden.
Daer leerdic an den vroeden houden
Een lettel meesterlike liste,
Die ic te voren niet ne wiste.
Aldus voer mijn vader danen
2400Ten dorpe waert, daer die hanen
Ende die vette hinnen waren.
Teerst dat ic mi durste baren,
Spranc ic vp ende liep ten hole,
In wilde niet langher zijn in dole,
2405Ende ic gheraecter64 doe te hant.
Sciere scraefdic vp dat zant
Met minen voeten ende croep in.
Al daer vandic groet ghewin.
Daer vandic seluer ende goud:
2410Hier nes niemen nu so houd,
Dies nye so vele te gader sach.
Doe ne spaerdic nacht no dach
Ic en ghinc trecken ende draghen,
Sonder karre ende waghen,
2415Ouer dach ende ouer nacht,
Met algader miere cracht.
Mi halp mijn wijf, vrauwe Hermeline.
Des dogheden wi grote pine,
Eer wi den ouer-groeten scat (fo. 207a)
2420Brochten in een ander gat,
Daer hi bet lach tonsen ghelaghe.
Wij droughene onder eenen haghe
In een hol verholenlike.
Doe was ic van scatte rike.
2425Nv hoert watsi hier binnen daden
Die den coninc hadden verraden.
Brune, die beere, sendde huut
Verholenlike zijn saluut
Achter lande ende omboet
2430Al den ghenen rijcheit groet,
Die dienen wilden omme tsout:
Hi beloofde hem seluer ende gout
Te gheuene met milder hant.
Mijn vader liep in al dat lant
2435Ende drouch des Brunen baniere.
Hoe lettel wiste hi dat de diere
Te sinen scatte waren gheraect,
Dies hem so quite hadden ghemaect!
En ware die scat niet ontgonnen,
2440Hi hadder met die stat van Lonnen
Alte gader moghen coepen.
Dus wan hi an zijn omme loepen.
Doe mijn vader al omme ende omme
Tusschen dier Elue entier Zomme
2445Hadde gheloepen al dat lant,
Ende hi meneghen coenen seriant
Hadde ghewonnen met sinen goude,
Die hem te hulpen commen soude,
Alse die zomer quame int lant,
2450Keerde mijn vader daer hi vant
Brune entie ghesellen zine.
Doe teldi die groete pine
Ende die menichfoudeghe zorghe,
Die hi voer de hoghe borghe
2455Int lant van Sassen hadde leden,
Daer die iagheren hadden gheleden
Alle daghe met haren honden,
Die hem veruaerden te meneghen stonden.
Dit telde hi te spele al gader.
2460Daer na so toghede mijn vader
Brieue, die Brunen wel bequamen, (fo. 207b)
Daer .xij.c al bi namen
Sheere Ysingrijns maghe in stonden,
Met scerpen claeuwen, met diepen monden,
2465Sonder die catte ende die baren,
Die alle in Bruuns souden waren,
Ende die vosse metten dassen
Van Doringhen ende van Sassen.
Dese hadden alle ghezworen,
2470In dien datmen hem te voren
Van .xx. daghen ghaue haer sout,
Si souden Brunen met ghewout
Seker wesen tsinen ghebode.
Dit benam ic al, danct Gode!
2475Doe mijn vader hadde ghedaen
Sine bodscap, hi soude gaen
Ende scauwen zinen scat.
Ende als hi quam ter seluer stat
Daer hine ghelaten hadde te voren,
2480Was die scat al verloren
Ende sijn hol was vp te-broken.
Wat holpe vele hier af ghesproken?
Doe mijn vader dat vernam,
Wart hi zeerich ende gram,
2485Dat hi van torne hem seluen hinc.
Dus bleef achter Brunen dinc
Bi miere behendichede al.
Nu meerct hier mijn ongheual:
Heere Ysingrine ende Brune de vraet
2490Hebben nu den nauwen raet
Metten coninc openbare,
Ende arem man Reynaerd es die blare!’
Die coninc entie coninghinne,
Die beede hopeden ten ghewinne,
2495Si leedden Reynaerde buten te rade
Ende baden hem dat hi wel dade
Ende hi hem wijsde sinen scat.
Ende alse Reynaerd horde dat,
Sprac hi: ‘soudic hu wijsen mijn goet,
2500Heere coninc, die mi hanghen doet?
So waer ic huut minen zinne.’
‘Neen, Reynaert,’ sprac die coninghinne,
‘Mine heere sal hu laten leuen, (fo. 207c)
Ende sal hu vriendelike vergheuen
2505Alle gader sinen euelen moet,
Ende ghi sult voert meer sijn vroet
Ende goet ende ghetrauwe.’
Reynaerd sprac: ‘dit doe ic, vrauwe,
In dien dat mi de coninc nv
2510Vaste gheloue hier voer hu
Dat hi mi65 gheue sine hulde,
Ende hi mi alle mine onsculde
Wille vergheuen, ende omme dat
So willic hem wijsen den scat,
2515Den coninc, al daer hi leghet.’
Die coninc sprac: ‘ic ware ontweghet,
Wildic Reynaerde vele ghelouen.
Hem es dat stelen ende dat rouen
Ende dat lieghen gheboren int been.’
2520Die coninghinne sprac: ‘heere, neen.
Ghi moghet Reynaerde ghelouen wel:
Al was hi hier te voren fel,
Hi nes nu niet dat hi was.
Ghi hebt ghehoert hoe hi den das
2525Ende sinen vader heuet bedreghen
Met morde, die hi wel beteghen
Mochte hebben andren dieren,
Wildi meer zijn argertieren66
Ofte fel ofte onghetrauwe.’
2530Doe sprac die coninc: ‘gentel vrauwe,
Al waendic dat mi soude scaden,
Eist dat ghijt mi dorret raden,
So willict laten vp hu ghenent,
Dese vorworde ende dit couent
2535Vp Reynaerts trauwe staen.
Ne waer ic segghe hem sonder waen:
Doet hi meer eerchede,
Alle die hem ten tienden lede
Sijn belanct, sullent becoepen.’
2540Reynaerd sach den coninc beloepen
Ende wart blide in sinen moet
Ende sprac: ‘heere, ic ware onvroet,
Ne gheloofdic hu niet also.’
Doe nam die coninc een stro
2545Ende vergaf Reynaerde al gader (fo. 207d)
Die wanconst van sinen vader
Ende zijns selues mesdaet toe.
Al was Reynaert blide doe,
Dat en dinct mi gheen wonder wesen:
2550Iane was hi van der doot ghenesen?
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

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.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookname.com

You might also like