News for hackers. Stuff that matters.
Re:How small is the smallest .NET Hello World binary? by CrendKing on Sunday July 09, 2023 @07:23AM (#36653570)
Sounds like confirmation bias, because when the right version of .NET is ever used, you probably never knew it was a .NET program to begin with.
Re:How small is the smallest .NET Hello World binary? by ntdll on Sunday July 09, 2023 @09:54AM (#36654457)
Not true in my experience. The "look and feel" of the program usually gives it away more or less immediately.
Re:How small is the smallest .NET Hello World binary? by grujicd on Sunday July 09, 2023 @01:37PM (#36656688)
Probably, if that app uses WPF, which is "self-drawn" GUI library. However, if .Net app uses WinForms, that API is just a wrapper over standard Win32 controls and it looks like any other old school Win app.
Re:How small is the smallest .NET Hello World binary? by ntdll on Sunday July 09, 2023 @03:08PM (#36657800)
You're right, but there are a few subtle differences here and there that often make Windows Forms recognizable.

The best example I got off the top of my head is KeePass v1 [0] and KeePass v2 [1]. v1 is written in C++ with native controls, and v2 uses Windows Forms.

If you look at the menu bar and the toolbar, you'll see a difference. Most notably the drag handle on the left, and the search box on the right, in v2. The difference is often a bit easier to spot on Windows 7.

[0]: https://keepass.info/screenshots/main_big.png [1]: https://keepass.info/screenshots/keepass_2x/main_big.png

Re:How small is the smallest .NET Hello World binary? by userbinator on Sunday July 09, 2023 @04:13PM (#36658409)
The blurrier font in the non-native one is another difference.
Re:How small is the smallest .NET Hello World binary? by EMM_386 on Sunday July 09, 2023 @02:14PM (#36657219)
> The "look and feel" of the program usually gives it away more or less immediately.

If you are talking about the base controls, then maybe. But there are .Net cross-platform frameworks such as Avalonia that can get you a modern loooking UI with theming.

https://github.com/irihitech/Semi.Avalonia

https://github.com/AvaloniaUI/Citrus.Avalonia

etc.