I'm just using some tests where in certain cases I need a thread (again just for test purposes) and some of them I need a Timer.
am I doing something or can't Timer and Thread exist in the same "class" in my case a Form class? (Form1.cs)
I'm importing these libraries
using System;
//using System.Threading;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Media;
using System.Collections;
as you can see I have commented System.Threading as it doesn't let me use it with Threading.Tasks (and this gives me Threading does not exist in this context). When I try to uncomment that Threading it doesn't let me saying there's an ambigious reference
Am I doing something wrong or is this a C# .NET Standard that you cannot have those 2 together?
Also if this is the case... why can't Timer and Thread be in the same class
Thank you