🟣 C# / .NET 6+
Disable Snap Assist Suggestions (C#)
Stops Windows from suggesting other windows to snap next to one you just moved. Applies the tweak via Microsoft.Win32.Registry.
SetDisableSnapAssist.cs
// SetDisableSnapAssist.cs
//
// Disable Snap Assist Suggestions.
// Stops Windows from suggesting other windows to snap next to one you just moved.
//
// Usage: dotnet new console -o SetDisableSnapAssist, replace Program.cs with this
// file, then dotnet run.
using System;
using Microsoft.Win32;
using RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced");
key.SetValue("SnapAssist", 0, RegistryValueKind.DWord);
Console.WriteLine("Disable Snap Assist Suggestions applied.");