The new feature in .NET 10 Preview 4 allows users to run a C# file using 'dotnet run app.cs' without making a full project. This helps people try out code or scripts quickly and easily.