Yonatan
Yonatan
CC#
Created by Yonatan on 6/19/2024 in #help
Teaching C# - Basic and Advanced topics (that are must learn)
I will be making a learning guide for my workers who will start soon. I am currently making a collection of all the topics that are good for beginners (who know at least 2 other programming languages) And Advanced topics that are worth learning before starting to work. (Like design patterns, LINQ, Entity Framework, SOLID....) I would love suggestions for what topics I should put most effort to in basics and advanced C#. Thanks! P.S Learning ifs and loops would be very easy and shouldn't take a lot of effort. In the basics I plan on mostly general topics like what is .Net and some general libraries and techniques
13 replies
CC#
Created by Yonatan on 6/17/2024 in #help
✅ switch .net version (Ubuntu)
Hello. I installed .net 6 and 8 on ubuntu, all my projects use 6 now I slowly move to 8. After installing 8 I can't seem to go back to 6, every time I run it, any projects use 8. I tried a global.json but it still runs with .net 8 instead of old 6. Without removing .net8 how can I run the solution with 6?
5 replies
CC#
Created by Yonatan on 5/7/2024 in #help
What is the best EXPERT .net api course? or generally C# course
or generally master c# course? I got a lot of experience and I want to level up to know that I am senior / expert. looking for a recommended intermediate to expert course!
11 replies
CC#
Created by Yonatan on 2/23/2024 in #help
implement abstract in subclasses
is it possible in visual studio 2022 C#: to auto implement an update to an abstract class? I have a class and I now added a new abstract function, I want it to auto implement in all 9 subclasses. Thanks!
2 replies
CC#
Created by Yonatan on 9/10/2022 in #help
Override Function and add variables?
is it possible to have a function in the base class:
public virtual void StartSpawnAnimation()
{
Debug.Log("Test");
}
public virtual void StartSpawnAnimation()
{
Debug.Log("Test");
}
And than Override it in a derived class and add a variable:
public override void StartSpawnAnimation(bool Something)
{
Debug.Log(Something);
}
public override void StartSpawnAnimation(bool Something)
{
Debug.Log(Something);
}
?
7 replies
CC#
Created by Yonatan on 8/17/2022 in #help
How do I call a null event?
public delegate void MyDel();

public event MyDel MyEvent;

public void LeftClickPressed()
{
if (MyEvent != null)
MyEvent();
}
public delegate void MyDel();

public event MyDel MyEvent;

public void LeftClickPressed()
{
if (MyEvent != null)
MyEvent();
}
In here, the event is always null. I Subscribed to it from a different class so everytime I trigger this event, a function will also run from that second class. However this event never triggers because it is always null. What Am I missing here?
21 replies