C# Expert OOP - Lecture 2: Exception Handling, Dictionary, Method Extensions, LinQ, Property GET SET

preview_player
Показать описание
#ObjectOrientedProgramming #CSharp #Software #Engineering #Programming #Course
Hello everyone. My name is Furkan Gözükara, and I am a Computer Engineer Ph.D. Assistant Professor at the Software Engineering department.

In this course, starting from ground to the advanced level Object Oriented Programming concept and the C# programming language will be taught.

In Lecture 2 the following topics are covered:
* What is the benefit of using dictionary class
* How much difference dictionary usage makes compared to regular list
* StopWatch precise time calculation
* LINQ example
* Custom static method extension
* Console.ReadLine usage
* How to use default value in methods and method call
* Catch each type of exception, exception handling, throw custom exception, try / catch
* Try / catch burden on the CPU
* Property custom get and set methods example
* Method signatures and method overloading

If you want to start learning programming or develop your other Software Engineering related skills you can watch our below full courses:

Рекомендации по теме
Комментарии
Автор

i learned :

- Language Integrated Queries (LINQ).
- Exception handling.
- Dictionaries
-Providing parameter with the method

-Working with diffrent typesof exceptions
-We can use same method with diffrent numbers of parameters

195050012

dodontkar
Автор

i learned in this lecture:
*We work with dictionary and touple
*We create extention methods
*We learned use fields to set the options not to change ewerything manually
*Providing parameter with the method
*Working with diffrent typesof exceptions
*We can use same method with diffrent numbers of parameters

195050009

thehistoryarchiveai
Автор

175050011

we learned:

*Linq
*how to use dictionary class and we learned the benefits of dictionary class
*how to use method signatures and method
*how to use stopwatch time calculation
*we learned get and set method and we solve the get set method problems
*we learned how to use console.readline

Thanks for the lesson, sir.

efemertkocak
Автор

195050902

In the lecture I learned:
1.LINQ
2.the usage of dictionary
3. the reason why we use a dictionary and
4. exception handling
5.avoiding try-catch because it's no use for controlling inputs because they are heavy
6.readline
7. finally overloading methods
8. the types of exceptions and how to find certain exceptions with try and catch

Thank you a lot professor for your effort

ammarhanyezeldinabdelrazik
Автор

195050003

In this week's lesson we learnt:

-Extension methods
-How effective it is to use dictionaries than lists or arrays. Dictionary takes less time because it is using indexing.
-We should use variables instead of writing the values ourselves. That way we can quickly change some values.
-Language Integrated Queries(LINQ)
-How slow try-catch is, and that we should avoid it if we can.
-We also learnt how to elaborate and search for specific exceptions while using try-catch.
-Method overloading. Signatures, and that signatures are based on the parameter types.

Thanks for your time. The subtitles were very comprehensible too.

bugracangundogan
Автор

195050024

We learnt:
Linq
Exception handling
Dictionaries (and how to use them)
Exception types
How to avoid try-catch in some situations (cause they can be expensive for us)
Method overloading

Thanks for your time sir

Автор

I learnt from this video:

- LINQ and its benefits
- Dictionary usage and why it's better
- Using variables advantages
- Exception types
- Try catch (exception handling)
- Overloading methods

175050008

kadirdurmaz
Автор

195050021

it was about
*Linq
*how to create dictionary with best way and the unpropers (how to use them also)
*The reason why we use dictionary(in that case) instead of list
*Exception types
*"Try catch is an option in stuations like that you can not control the (input) variable" it is exhausting and no good.
*We can use same method and overload it just if we use diffrent signatures but in c# we can not overload properties.
Thanks for lesson ^^

yusufcan
Автор

I have learnt in this video:
- How we define static extension methods
- Using “this” key
- How we manage exception types in a dictionary
- Work time difference between a dictionary and a list
- How we use LINQ
- When we prefer use try catch blocks
- What is method overloading and how we do it
Thanks for lesson.
185050002

ahmetpinar
Автор

175050007

What I learned in this lesson:

- LINQ
- some exception handling.
- differences of dictionaries(the best) and lists.
- benefits of LINQ.
- we don't use try catch it can be expensive for us in some situations.
- types of exceptions
.
- overloading with method
.
- get and set
.

Thanks for lesson.

mehmetoksuz
Автор

205060801

This lecture was about using Linq, working on classes with dictionaries. The lecturer was using random function and stopwatch to show differences between operational time of different ways of creating dictionaries. We’ve learned about extension methods, using the ReadLine method and formatting types like char to int. Also why we should not use “try and catch” if it is not necessary (we should use it only when we can’t predict errors, cause it makes the program much slower). At the end of the lesson, we’ve learned about overloading methods.

wojciechkudlicki
Автор

195050015

İn this lesson I learnt:

-LİNQ
-Types of exceptions
-Ways of exception handling
-What is and how to use dictionary?
-What is try catch?
What is method overloading?

erenkvkli
Автор

175050010

In this lesson;
- Exceptions provide a way to transfer control from one part of a program to another.
- Exception handling is built on four keywords: try, grab, finally and throw.
- For a developer who is writing a query, the most visible "language-integrated" part of LINQ is the query expression.

- What are the LINQ and its benefits
- How to use the dictionary is shown.
- provide public get and set methods, through properties, to access and update the value of a private field

yagmur
Автор

The lecture was about
LINQ and it's benefits
tips about using try & catch
difference of dictionaries
exception types
and overloading methods.

Raanem Dahbi - 195050904
Thank you for your time.

raanemdahbi
Автор

185050004

this lesson,
the benefit of using dictionary,
exception types
linq,
console readline usage,
precise time calculation usage,
overloading methods,

Thanks for your time sir

zeynepbaykal
Автор

In this lecture, we started with how to use the dictionary and its benefits. How to add and use
extensions. After that, we take a look at LINQ and the calculation of process time. Also, had an example of try & catch. At the final, we talked about method overload and saw related examples. Thank you for the lesson.

165050007

berkayoztekin
Автор

In this video I learned that below things
- Language Integrated Queries (LINQ).
- Exception handling.
- Dictionaries
- What are the types of exceptions?
- Method overloading.
- Using try catch can be expensive at times.

Ekrem ŞAHİN / 165050012

ekremsahin
Автор

185050008

I learned in this lesson,

What is LINQ and what are its advantages?
What are the exception types?
What is try catch?
How can we change values quickly?
how to use console reading line?
Why do we use a dictionary (in this case) instead of a list?
How do you use your dictionary?

thanks for the lesson.

selinokten
Автор

175050004

In this week what i learned:

Language-Integrated Query(LINQ),
some error handling,
dictinonarys,
variables to use it everwhere,
getter and setter for c#

cantutar
join shbcf.ru