Calling Method Example in C#

code:

with object creation from class:

If we don’t want to use object we can use static keyword here:

Static method can be invoked with class name:

Can be invoked without creating objects:

 

 

 

 

Data Structure in C#

ArrayList Implementation Example:

ArrayList example:

Stack:

 

Queue:

HashMap

Dicitionary:

 

Playing with C#

 

Clean Code:

 

 

Swap without a temp variable

It’s possible with addition:

It’s also possible with multiplication:

 

 

 

Source:
http://www.geeksforgeeks.org/swap-two-numbers-without-using-temporary-variable/

 

Functional and Non-functional Requirement Software Engineering

C# Windows Application Form

code:

 

code:

 

 

 

OOP Topics Need To Cover

https://www.javacodegeeks.com/2017/05/oops-concepts-need-know.html

Different Types of Object Diagram

http://creately.com/blog/diagrams/uml-diagram-types-examples/

Agile vs Waterfall

 

OOP in C#

Calculator.cs

Program.cs

Person.cs

 

UML

C# Book Tips

What is the best way to learn c# ? Ebooks or those four or five hour long seminars about it?

jafhar1 

okay thanks for the advice

rhubarbcheese 

I see it was about 5 months since you asked the question and might have learned it already, As for ebooks Id suggest C# 6.0 in a nutshell, compared to all the other books ive read its the best with more explanations than the other books. I think that is the key to force yourself to answer questions and do excercises and tasks. The greatest mistake people make is not writing enough code and then use all the tools of C# to make that code work, write really redundant code and forget about elegancy in the start. I would NOT learn about their store apps in depth, only to use C# and see it visually. Forget about XAML and all that stuff. Its super time consuming, complex, no compiler to help you out, the documentation is really bad. During all the time I learned I started writing a game and added features / adding more useless code to the game so that I can learn the c# syntax and features, practicing solid principles. Oh yeah, pluralsight.com is really good, dotnetperls.com, stackoverflow.com, the microsoft documentation(I suggest learning how to read that documentation) and a few guys on youtube like kudvenkat and Jamie King helped me out alot.

AVL Tree

B+ Tree