Skip navigation

Bookboon.com Download free eBooks and textbooks

Choose a category

C# 1

Introduction to programming and the C# language

C# 1
4.5 (15 reviews) Read reviews
ISBN: 978-87-403-0250-9
1 edition
Pages : 289
Price: Free

Download for FREE in 4 easy steps...

We are terribly sorry, but in order to download our books or watch our videos, you will need a browser that allows JavaScript.
After entering your email address, a confirmation email will be sent to your inbox. Please approve this email to receive our weekly eBook update. We will not share your personal information with any third party.

This is a Premium eBook - get it free for 30 days

You can also read this in Bookboon.com Premium

Summary

The book is a practical basic introduction to programming and C# that introduces basic principles of object-oriented programming.

300+ Business books exclusively in our Premium eReader

  • No adverts
  • Advanced features
  • Personal library
More about Premium

Buy this eBook

Buy now

Subscribe to all 800+ eBooks

Start free trial 30 day FREE trial

About the book

  1. Description
  2. Content
  3. About the Author
  4. Appendix
  5. Embed
  6. Reviews

Description

The book is a practical basic introduction to programming and C# that introduces basic principles of object-oriented programming and also deals with the C# programming language through a collection of simple examples. The goal is to provide the basic knowledge needed to develop complete applications and to move on to more specialized topics in programming. In addition to the basic concepts the book also deals with collection classes, and files with emphasis on object serializing. The book concludes with two slightly larger examples, which deal with the books many concepts in a larger context.

Content

Foreword

Part 1 Introduction to C#

  1. Introduction
    1. Hello World
  2. Basic program architecture
    1. Print a book
  3. Variables
    1. The sum of two numbers
    2. Operators
  4. Console programs
    1. Perimeter and area of a circle
    2. Product calculation
    3. Date and time
    4. Arguments on the command line
  5. Program control
    1. if
    2. Sort two numbers
    3. if-else
    4. A quadratic equation
    5. while
    6. The sum of the positive number less than 100
    7. for
    8. Sum of positive integers
    9. do
    10. switch
    11. Weekday
    12. The cross-sum
    13. The biggest and the smallest number
  6. Strings
    1. The class string
    2. Palindrome
  7. Arrays
    1. Two arrays of the type int
    2. Array of strings
    3. Yatzy
    4. Craps
  8. Part 2 Object Oriented Programming

  9. Classes
    1. Coins
  10. Design of classes
    1. Dice
  11. Methods
    1. Methods names
    2. Function overriding
    3. Methods return values
    4. Properties
    5. A point
    6. Parameters
    7. Methods parameters
  12. Inheritance
    1. Points
    2. Persons
  13. The class Object
  14. Abstract classes
    1. Abstract points
    2. Loan
  15. Interfaces
    1. Points again
    2. Money
  16. Static members
    1. StringBuilder
  17. More about arrays
    1. Multi-dimensional arrays
  18. Types
  19. Enum
  20. Struct
  21. Generic types
    1. Generic methods
    2. Sorting an array
    3. Parameterized types
    4. The class Set
  22. Exception handling
  23. Comments
  24. Extension methods
  25. Part 3 Collection classes

  26. List
    1. A List of strings
    2. Enter sale of products
  27. Stack and Queue
    1. Stack of integers
    2. StackSort
  28. LinkedList
    1. LinkedList of names
  29. Dictionary and SortedDictionary
    1. Table of job titles
    2. User defined key
    3. A sorted dictionary
    4. Comparable keys
    5. Cue list
  30. Part 4 IO

  31. Text files
    1. Write and read text
    2. Write a comma separated file
    3. Read a comma separated file
  32. Binary files
    1. Print 100 numbers in a fil
    2. Read a binary file
    3. Seek
  33. Info about directories and files
    1. FileInfo
    2. DirectroryInfo
  34. Object serialization
    1. Datatypes
    2. Binary serialization
    3. Binary deserialization
    4. XML serialization
    5. SOAP serialization
    6. Serialization of a collection
  35. User defined serialization
  36. Part 5 Final examples

    Lottery

    Expression

About the Author

Poul Klausen has a master degree in mathematics from Aarhus University, specializing in algebraic topology. After the university and a subsequent pedagogically education Poul Klausen has primarily worked as a teacher and especially in IT education and over the past several years as a lecturer in computer science education. He has especially trained in programming and in this context both worked with and taught a variety of programming languages including C#. Besides programming Poul Klausen deals with other issues in system developments which specifically include design, modeling and databases. He has also lectured in more technical subjects such as operating systems and computer networks.

Besides teaching, Poul Klausen worked in private businesses as a software developer both during periods as a full-time system developer and partly in parallel with the job as a teacher. The assignments have been many and specifically include the development of administrative solutions and a range of web related products. In recent years, Poul Klausen has as a system developer been primarily engaged in business intelligence, and in relation to this, he is primarily interested in data mining.

Embed

Size
Choose color
Implementation code. Copy into your own page
Embed Frame - Terms of Use

The embed frame is free to use for private persons, universities and schools. It is not allowed to be used by any company for commercial purposes unless it is for media coverage. You may not modify, build upon, or block any portion or functionality of the embed frame, including but not limited to links back to the bookboon.com website.

The Embed frame may not be used as part of a commercial business offering. The embed frame is intended for private people who want to share eBooks on their website or blog, professors or teaching professionals who want to make an eBook available directly on their page, and media, journalists or bloggers who wants to discuss a given eBook

If you are in doubt about whether you can implement the embed frame, you are welcome to contact Thomas Buus Madsen on tbm@bookboon.com and seek permission.

Reviews

Nemat ★★★★★

Compulsory for learning computer concepts.