If you're looking for pointers, you've come to the wrong language
Joking aside, a list of "tips on coding C#" is unlikely to be really helpful to you. Perhaps take a pluralsight course on your topic of interest, have a bash at writing something and come ask us if you get stuck. One tip I will impart though:
Learning C# is like learning French (or Spanish, whatever..) - you think in English, you don't think in French. Do your thinking in English, not C#.
Just as when you learn French, you know what you want to say in English ("I like the red balloon") then tweak it to be how a French person woudl say it ("I like the balloon red"), then translate the words ("J'aime le ballon rouge"), then speak the French
When you learn C# you have an aim in mind; an algorithm of what your program will do. Wite the program in English first, using comments. After you've done that, translate the comments to C#. If you launch straight into coding, with no plan of what you need to code, you'll get lost and forget what you're doing, and then write a load of bug-ridden junk
Example:
Your task is "add up the numbers at the end of every line in this text file, but only if the line starts with an A"
You write the algorithm first, in English:
//read the file into an array, one line per array element
//have a varable to track the sum
//loop over every line in the array
//does the line start with an A?
//yes it does
//extract the numeric digits after the last comma
//convert the numeric string to a number
//add it to the sum
//do the next line
Now, you fill C# in under them, and you leave them there so you have a nicely commented program that tells you what each line does; being able to read a line and just know its purpose is a skill that you acquire as you become fluent in C#, you aren't there yet
//read the file into an array, one line per array element
var lines = File.ReadAllLines("c:\path\to\file.txt");
//have a varable to track the sum
var sum = 0;
//loop over every line in the array
foreach(string line in lines){
//does the line start with an A?
if(line.StartsWith("A")){
//yes it does
//extract the numeric digits after the last comma
var bits = line.Split(',');
var numstring = bits.Last();
//convert the numeric string to a number
var num = Convert.ToInt32(numstring);
//add it to the sum
sum+= num;
}
//do the next line (loop around)
}
You can get fancy with it later:
var sum = File.ReadAllLines("C:\path\to\file.txt").Where(l => l.StartsWith("A")).Sum(l => int.Parse(l.Split(',')[^1]));
That last line of code is perhaps the *last* thing you should be writing as a newbie; chock full of code with no explanation and needs a fairly high degree to C# fluency to read it. A fellow developer who is LINQ aware would pick it up and go "oh right, that's self explanatory" - but that's the "think in C#" level.. Think in english, lay it out in english, then translate
*or your native spoken language