C# Programming For Beginners - Lecture 7: Methods, Classes, Fields, Properties, WPF, ComboBox, Rand

preview_player
Показать описание
C# Programming For Beginners Lectures (7/14) will teach you #CSharp #programming from 0 to beginner / intermediate level. So if you have no idea about programming, if you don't know anything about #coding, or if you want to become a Software Engineer, please subscribe and follow our courses.

Technology Playlist (30+ Tutorial / Guide / News / Review Videos) ⤵️

Stable Diffusion Playlist (30+ Tutorial / Guide Videos) ⤵️

Please join discord, mention me and ask me any questions. Thank you for like, subscribe, share and Patreon support. I am open to private consulting with Patreon subscription.

Full playlist of this course ⤵️

You can watch for free our C# Programming, ASP .NET Core MVC programming, Machine Learning and Software Engineering related courses on our playlists page ⤵️

GitHub code repository of this course (source codes of the lectures) ⤵️

The topics that have been covered in Lecture 7:

* How to compose simple methods and call them
* How to compose a simple custom class
* How to compose properties inside a custom class
* How to compose a list that contains objects / items from a custom class
* How to use WPF ComboBox
* How to bind WPF ComboBox to a list of custom class objects
* How to set DisplayMemberPath of a ComboBox to display certain properties of a custom class's objects
* How to set SelectedValuePath of ComboBox to get certain properties of a custom class's objects as values
* How to use Switch-Case methodology
* How to code Switch-Case methodology as "if" and "else if" sequence
* How to use MessageBox.Show
* How to compose a multi-line string with @ character at the beginning
* How to use String.Join and string.IsNullOrEmpty
* How to use "Random" class to generate random numbers
* How to use File.WriteAllText, File.WriteAllLines, File.AppendAllText, StreamWriter With Append, Not Append, Flush, AutoFlush, StreamWriter.WriteLine , WriteLine.Write methods
* How to use File.ReadAllText, File.ReadLines, File.ReadAllLines, StreamReader, StreamReader.ReadToEnd & StreamReader.ReadLine methods

Introduction:
C# is a popular programming language that was developed by Microsoft. It is widely used for building Windows desktop applications, web applications, games, mobile apps, and more. If you are new to programming and want to learn C#, the C# Programming For Beginners Lectures (7/14) is an excellent resource to start with. In this article, we will give you an overview of the course and the topics that are covered in Lecture 7.

Getting Started with C# Programming for Beginners:
The C# Programming For Beginners Lectures (7/14) is a comprehensive course that is designed for beginners who have no prior knowledge of programming or coding. The course is conducted by SECourses, a popular YouTube channel that offers free programming courses and tutorials. The course is available on YouTube, and it is completely free to watch.

The course is conducted in English, and it consists of several lectures that cover different aspects of C# programming. Each lecture is around 2-3 hours long, and it is designed to provide a step-by-step guide for beginners to learn C# programming. The course is conducted in a simple and easy-to-understand language, and it is ideal for beginners who want to learn C# programming at their own pace.

Topics Covered in Lecture 7:
Lecture 7 of the C# Programming For Beginners Lectures covers several topics that are essential for beginners to learn C# programming. The topics covered in Lecture 7 are:

How to compose simple methods and call them: This topic teaches you how to create simple methods in C# and how to call them in your code. You will learn about the syntax of methods and how to use them to perform specific tasks.

How to compose a simple custom class: This topic teaches you how to create a custom class in C# and how to use it in your code. You will learn about the syntax of classes and how to use them to organize your code.

How to compose properties inside a custom class: This topic teaches you how to create properties inside a custom class in C#. Properties are used to store and retrieve data from an object.

How to compose a list that contains objects / items from a custom class: This topic teaches you how to create a list that contains objects from a custom class in C#. Lists are used to store a collection of objects.

How to use WPF ComboBox: This topic teaches you how to use the Windows Presentation Foundation (WPF) ComboBox control in C#.
Рекомендации по теме
Комментарии
Автор

Please join discord, mention me and ask me any questions. Thank you for like, subscribe, share and Patreon support. I am open to private consulting with Patreon subscription.

SECourses
Автор

in this lecture we learned;
1)using WPF app
2)using switch case method
3)composing a list which contains object from custom class
4)what is the default encoding file write
5)what are the streamwriter and streamreader
195050014

nisa
Автор

In this lesson I learned
+ Use ComboBox
+ Add items in ComboBox
+ Simple methods and custom class
+ Switch case
+ Use MessageBox.Show
+ Difference between select.value and selected.item
+ Differences of field and properties
+ How to compose a multi-line string with @ character at the begining
+ How to use string.Join and string.IsNullOrEmpty
+ Random clas to generate random numbers
number: 195050020

merveenterili
Автор

In this lesson I learned:
1)      Combo Boxes of WPF
2)      Simple methods
3)      Simple custom class
4)      Switch case
5)      Default and break keywords
6)      MessageBox
7)      SelectedValuePath of ComboBox
8)      DisplayMemberPath of ComboBox
9)      How to bind a list to a ComboBox?
10)   A multi-line string with @ character
11)   Random class
12)   StreamWriter and StreamReader

NUMBER : 195050011

zeyneptas
Автор

You talk about some WPF controls which are button and combobox. You shown that how to define and use a property.
There is an example about item sources. It is about that how to use item source etc. You talk about Class and Object, How to define a class and generate an object. Some events using were shown in the course. Finally, You talk about file operation such as File Stream and File. You shown append and write operation and difference between them.


Number: 195050026

recepgunes
Автор

In this video I learnt
-Using ComboBox and add items in ComboBox
-differences of selected items and values in ComboBox
-how to use switch case methods
-differences of classes and objects
- differences of field and properties
-how to make public int(get;set;) easily
-in which case ComboBox does not work
-System.IO


195050009

thehistoryarchiveai
Автор

In this lesson I learned:
- use ComboBox
- adding items to the ComboBox
- use switch
- use MessageBox.Show
- the difference between selected items and values.
- use WPF ComboBox
- Convert to int.
- use random class to make random numbers
- write data to the file
- read data from the file

My Number = 195050005

samedarc
Автор

In this course:
-using combobox and add item
-switch case
-sytem.IO method
-generating random numbers
-flush & auto flush
-streamwriter and streamreader

number :195050013

muhammedmustafakapici
Автор

195050016
In this video we learned
-Combo boxes
-Adding stuffs/items to combo boxes
-What is switch and cases
-We used if method with switch cases
-How to do encoding
-We wrote all lines randomly that is already written in txt
-What is streamreader and how we can use it
Thanks for the lesson.

korayinci
Автор

in this course
-how we can use combobox and add items
-switch case
-diffirence of classses
-how to set defoult index
-what is system.IO
-streamwriter, streamreader
205060002

mertcaneser
Автор

195050007

-How to compose simple methods
-‌How to compose simple custom class
-‌How to compose properties inside custom class
-‌How to compose a list that contains objects/ items from custom class
-‌How to use WPF ComboBox
-‌How to set DisplayMemberPath of ComboBox to display certain properties of a custom class objects
-‌How to use MessageBox.Show
-‌How to use Random class to generate random numbers

ferhat
Автор

From this video we learned
-How we use combobox ?
-Switch case methodology
-How we use MessageBox.Show
-System.IO
-StreamWriter
-StreamReader

195050027

burhanyasbay
Автор

From this lecture we took
1) What is ComboBox?
2) How to add a Combobox and modify it?
3) Methods
4) Switch statement with break and default.
5) System.IO
6) Write Al lines and Readlines
7) StreamReader and StreamWriter

205060911
Mhd Omar Dakelbab

omardakelbab
Автор

In this video we learned
-How to use ComboBox, adding value in ComboBox menu.
-How to use Switch Loop and using the if else method in a switch style
-Difference between selected.item and select.value
-Creating user groups
-Message.box and message.show
-Creating classes public and private
-DisPlayMemberPath Method

-How to compose simple custom class and call them
-How to use random class to generate random numbers
-How to create file
-File.writeAllText, File.WriteAllLines and File.AppendText method
-String.Join and String.IsnullOrEmpty method
-Open.Write and streamwriter
-Flush and autoflush
-File.ReadAllText, File.ReadAllLines and File.ReadLines method
-Streamreader

My School Number 195050019

yunusemrebitkay
Автор

İn this course ı will learn it;
2-How we can add items in ComboBox ?
3-What are the differents about ComboBox selected item and value ?
4- What are the differents the classes and object ?
5-What are the differces about field and properties ?
6-How to make public int(get;set;) easily ?
7- How set defoult index?
Number: 195050029

batuhankeskin
Автор

In this lesson I learned:
- use ComboBox
-custom class
-switch case
-MessageBox
-Random class
-stream reader

Number : 195050023

batuhancanbulat
Автор

205060021
From this lecture I have learned:
-how to use combobox and adding items in it
-how to use switch case
-using if and else if in switch case
-selecting certain properties of a custom class objects as values(with SelectedValuePath)
-displaying certain properties of a custom class objects (with DisplayMemberPath)
-using @ in beginning of multiline string
-using string.join and string.isNullorEmpty
-random class
-how to use stream writer and stream reader

halimeince
Автор

In this video i learned :

-What is ComboBox?
-Adding stuffs/items to combo boxes
-how to use switch case
- difference of classses
-Using System.IO
-streamwriter and streamreader

number: 195050012

dodontkar
Автор

In this lecture we learned :
1-Methods in WPF and how to use them
2-What is ComboBox?
3-What is custom class, and how to compose properties inside custom class
4-System.IO
5-How to use swith case methology
6-How to use random classes to generate random numbers
ID:195050808

feritbarbur
Автор

What we've learned
in the lesson
- combobox for c#
- Object Bling example
- items source list classes
- member path wpf c#
- what the difference between filed and property
- use string join
- compose multi-line string with @
- how to use switch case
- random class to generate random number

My number: 195050905

amroduveydari
join shbcf.ru