SubjectsSubjects(version: 964)
Course, academic year 2024/2025
   Login via CAS
Programming in C# Language - NPRG035
Title: Programování v jazyce C#
Guaranteed by: Department of Distributed and Dependable Systems (32-KDSS)
Faculty: Faculty of Mathematics and Physics
Actual: from 2022
Semester: winter
E-Credits: 5
Hours per week, examination: winter s.:2/2, C+Ex [HT]
Capacity: unlimited
Min. number of students: unlimited
4EU+: no
Virtual mobility / capacity: no
State of the course: taught
Language: Czech, English
Teaching methods: full-time
Additional information: http://d3s.mff.cuni.cz/teaching/nprg035
Guarantor: Mgr. Pavel Ježek, Ph.D.
Teacher(s): Mgr. Pavel Ježek, Ph.D.
Mgr. Filip Kliber
Bc. Jakub Koucký
Class: Informatika Bc.
Informatika Mgr. - volitelný
Classification: Informatics > Programming
Incompatibility : NPRX035
Pre-requisite : NPRG031
Interchangeability : NPRX035
Is co-requisite for: NPRG064, NPRG038, NPRG057, NPRX038
Is incompatible with: NPRX035, NPRG048
Is interchangeable with: NPRX035, NMMB202
Is complex co-requisite for: NPRG024
In complex pre-requisite: NSWI152, NSWI202, NSWX152
Annotation -
The goal of the course is to give students a detailed knowledge and understanding of key principles of the .NET platform, the C# programming language and its advanced constructs. Successful completion of the course should allow students to effectively take advantage of the .NET platform potential. Course attendees are expected to have knowledge of object oriented and event driven programming and basic features of C# language as covered by the course "NPRG031 Programming 2".
Last update: Hnětynka Petr, doc. RNDr., Ph.D. (30.04.2019)
Literature -

Mark Michaelis, Eric Lippert: Essential C# 5.0, 4th Edition, Addison-Wesley Professional, 2012

Jeffrey Richter: CLR via C#, 4th Edition, Microsoft Press, 2012

Jon Skeet: C# in Depth, 3rd Edition, Manning Publications, 2013

Christian Nagel et al., Professional C# 2008, Wrox, 2008

Microsoft Developer Network Library, http://msdn.microsoft.com/library/

Zdrojové kódy knihoven platformy .NET, http://referencesource.microsoft.com/

Last update: Ježek Pavel, Mgr., Ph.D. (04.09.2013)
Syllabus -

Compilation and execution differences between unmanaged (C++) and managed code (C#/.NET, Java).

Basic principles of JIT compilation, services provided by the CLR virtual machine, concepts of safe and unsafe code, overview of languages for .NET (C#, VB.NET, F#, C++/CLI, IronPython), pros and cons of development under the .NET platform.

Common .NET platform implementations: Microsoft .NET Framework, Mono.

Development tools, basics of performance measuring, code documentation and testing.

Value types vs. reference types (comparison to Java and C++ languages).

Memory allocations on managed heap, basic principles of Garbage Collection.

Classes and structs, interfaces, inheritance, virtual methods, (static) class constructors (comparison to Java and C++ languages).

Strings

Mutable vs. immutable types.

Generic types (comparison to generic types in Java and templates in C++).

Type variance (covariace and contravariance).

Extension methods, operator overloading, anonymous methods and lambda functions, iterator methods (comparison to C++).

Delegates and events.

Standard .NET libraries (streams, file access, collections, etc.).

Object finalization, advanced principles of Garbage Collection, basic principles of generational Garbage Collector.

Last update: Katedry Tajemník (16.05.2012)
 
Charles University | Information system of Charles University | http://www.cuni.cz/UKEN-329.html