fork download
  1. private void dataGridView1_CurrentCellChanged(object sender, EventArgs e)
  2. {
  3. DataGridView dgv = (DataGridView)sender;
  4. if (dgv.CurrentCell.Value == null)
  5. {
  6. return;
  7. }
  8. Debug.WriteLine("CurrentCellChanged");
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Package source with Name: nuget.org disabled successfully.
Package source with Name: local added successfully.
/home/cazoFr/Project/Program.cs(1,9): error CS0106: The modifier 'private' is not valid for this item [/home/cazoFr/Project/Project.csproj]



/home/cazoFr/Project/Program.cs(1,9): error CS0106: The modifier 'private' is not valid for this item [/home/cazoFr/Project/Project.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.13
stdout
Standard output is empty