❔ How to Create a C# Code Base for a PC Cleaner
Does anyone know of C# to make a base code that for now just clean the %temp% folder just for me to start I don't understand anything about C# just HTML and a little python remembering it will be via windowsforms
B
Buddy•383d ago
PC cleaner?
What's that?
A
Arctix•383d ago
Well before trying to write a program id try and understand the language first.
May not be the best but when i started out i found the course on W3 Schools pretty useful to learn the basics.
MW
Monsieur Wholesome•383d ago
just clean the %temp% folderSo... deleting all files in %temp%... Do any fundamental C# tutorial and youre learning how to do that
P
Pixel•383d ago
$helloworld
M
MODiX•383d ago
Written interactive course https://learn.microsoft.com/en-us/users/dotnet/collections/yz26f8y64n7k07
Videos https://dotnet.microsoft.com/learn/videos
P
Pixel•383d ago
this will get you started with C#
use the microsoft documentation and google and you will be able to figure it out
the System.IO namespace should have the functions your looking for
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
If I manage to learn or not, I'll let you know here, it seems difficult ;-;
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
File.Delete(String) Método (System.IO)
Exclui o arquivo especificado.
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
?
MW
Monsieur Wholesome•383d ago
Yes 😅
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
GUYS
i have my first code
Console.WriteLine("Hello World!");
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
it would be easy if I understood you because I'm Brazilian and I know the basics of English I use the translator
now I went to understand what is System.IO
K
Kouhai /人◕ ‿‿ ◕人\•383d ago
System.IO is just a namespace
RG
R̷I̷E̷I̷D̷I̷ ̷G̷A̷M̷E̷R̷•383d ago
yes
I'll study more about C# when I'm home
A
Accord•374d ago
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
51KMembers
View on DiscordWant results from more Discord servers?
More Posts✅ How to install a callback for an awaited item when using Task.WhenAllHello I am using Task.WhenAll on a List of Tasks. However if a task fails I want to immediately call❔ How to get azure cache for Redis connection string stored in app service as a appsetting variableI have created a azure redis for cache and stored the connection string as application setting varia❔ Giveaway for an online DOTNET ConferenceHello developer students,
I am going to give away free tickets to an online dotnet conference whic❔ SoundBoardHi!
I am working on a soundboard lately and i got stuck with playing a sound throught microphone.
i'❔ accessing object from a class inside of another classI got this class called "Engine"(image 1) that has the object "isOn" which indicates whether the eng❔ QuestionControllerHello, i have a question regarding API structure.
I have two classses, Item and Store. I created C❔ Problem Binding to Image SizeI am making an app that displays a series of books. An image and title of the book is to be displaye❔ whats the best site or youtube channel to start learning c#?just downloaded visual studio and wanted to know what would be the best way to learn C#❔ C# MVC - Erroring in VSC not VS2022I'm writing a C# .Net Core 7.0 web application with dapper for my SQL queries.
It runs just fine inString Contain issueSo im trying to get a word in a string using Contain but its not getting the word, I havent found a ❔ Catching Exceptions with generic parameters?When adding an entity to the database, i first check if it already exists and if it does I throw an ❔ How should I learn programming?I'm sure this is a common question, but I want to learn game development but am a pretty new C# prog❔ How to properly structure projects in a multi-app MVVM solution?I tend to structure my MVVM projects in the following way:
```
.
├── src/
│ ├── Applications/
│ Sending File and Data to a Minimal API endpointHi. I am using .NET 7, Minimal API and Mailkit.
What I want to do is to send an attachment along wi❔ reprotucing the kings pathcan anybody help me fix this code
https://paste.mod.gg/sgsvrbaqnmpi/0
```
the input is
number of obs❔ Its there a way to fix this?Hi there, currently I am trying to develop some functions to publish them to azure later, but right ✅ Does this styling code look right?I'm using this code for a simple hover effect. Im wondering if I'm doing this correctly:
<Window.Re❔ ?[] operator for dictionariesIs not working. It is explained here. https://learn.microsoft.com/en-us/dotnet/csharp/language-refer❔ IAsyncEnumerable vs List<T> as parameter in methodI have a method that is overloaded and will take in a List<T> or IAsyncEnumerable. The method will b❔ This code is bugged how can i solve it?```LogiwaEntities1 db = new LogiwaEntities1();
ProductData productData = new ProductData