Logo ČVUT
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2024/2025

Programming in C#

Login to KOS for course enrollment Display time-table
Code Completion Credits Range Language
BI-CS1 KZ 4 3C Czech
Garant předmětu:
Pavel Štěpán
Lecturer:
Tutor:
Pavel Štěpán, Helena Wallenfelsová
Supervisor:
Department of Software Engineering
Synopsis:

The goal of the course is to introduce .NET Framework as a multi-language development platform. Then, programming language C#, its fundamental construction, types of variables, operators, arrays, loops, definitions and calls of functions will be discussed. Attention is focused on the object oriented programming in C# - class definition and class instancing, constructors, methods, properties, static members, Garbage Collector, inheritance and polymorphism, collections, delegates, and generics. Debugging and exception processing, as well as work with files are emphasized.

Requirements:

Algorithmization and essential knowledge in the programs development are assumed.

Syllabus of lectures:

1. Conceptual overview

Foundation for applications - .NET Framework, Intermediate Language, Common Language Runtime, Base Class Library, Namespaces, assemblies structure;

Supplements: ADO.NET, ASP.NET, web services, WCF, WF, WPF, Silverlight, Card Space

2. Visual Studio environment: introduction, basic controls (TextBox, Label, Button and others), code and format editing, building of a simple program.

3. Program format, data types, variables and constants, reference and value types, arrays, collections, structures, expressions and operators, control and assignment statements, definitions and calls of functions.

4. Object oriented programming - fundamentals, encapsulation, methods, fields, properties, class definition, overloading, property procedures, object instancing, static properties, constructors, methods and classes.

5. Object creating and destroying: class constructors, garbage collector.

6. Derivation of objects: inheritance, inheritance definition and use, abstract classes and methods.

7. Polymorphism: principles and use, virtual, override.

8. Super-structure properties of the object programming: object class; boxing/unboxing; indexers, iterators; Generics, typed collections; partial classes; anonymous methods;

9. Delegates and event programming: delegates - safety pointers (single/multicast), definition and use of events.

10. Debugging: debug tools for C# .

11. Run-Time exceptions processing: structured exception processing, Exception Class; Try, Catch and Finally statements.

Syllabus of tutorials:
Study Objective:
Study materials:

Programmes developed in the course of the semester are considered to be the main study source. However you can use the following literature:

Christian, N. et al. „C# 2008 programujeme profesionálně“. Computer Press, 2009. ISBN: 978-80-251-2401-7

MacDonald, M., Szpuszta, M. „ASP.NET 3.5 and C# 2008“. Zoner Press. 2008, ISBN: 978-80-7413-008-3

Note:
Further information:
https://moodle-vyuka.cvut.cz/course/search.php?search=BI-CS1
Time-table for winter semester 2024/2025:
Time-table is not available yet
Time-table for summer semester 2024/2025:
Time-table is not available yet
The course is a part of the following study plans:
Data valid to 2024-06-16
Aktualizace výše uvedených informací naleznete na adrese https://bilakniha.cvut.cz/en/predmet5073506.html