Forum Widgets
Latest Discussions
Boolean property true by default !?
I created a class with a Boolean. When I instantiate it, my Boolean is true. I don't understand. I thought the default for Boolean was false ! Any ideas ? Right now, I'm forced to use this attribute : [DefaultValue(false)] public bool IsDelete { get; set; }SolvedMarc RousselOct 07, 2022Iron Contributor2.7KViews0likes2CommentsI'm having a web app in Blazor Wasm ASP.NET Core server. There seem to be an issue with .NET 6
I have a file encoded in UTF8 thus having French special characters like é, è or ê etc... When I read the file using System.IO.File.ReadAllText(MyPathFileName, Encoding.UTF8) I still get the file with the wrong format, here's a single line for instance : "Name": "�ric S�guin" Any idea what I'm doing wrong?SolvedMarc RousselNov 29, 2021Iron Contributor1KViews0likes2Comments- hpxwjNov 17, 2021Copper Contributor5KViews0likes4Comments
What is the standard COM and SendMessage pumping in Doc?
I am learning the Thread class to control the Thread manually in my application. The doc is https://docs.microsoft.com/en-us/dotnet/api/system.threading.thread.join?view=net-5.0#System_Threading_Thread_Join . There is an most important method while using it. Thread.Join() In the Join method, this is a fragment of description. while continuing to perform standard COM and SendMessage pumping. I have searched a lot, but I can't find any exact explanation of these two item.SolvedNullReferenceNov 08, 2021Copper Contributor2.3KViews0likes2Comments
Resources
Tags
- .net120 Topics
- .NET Framework98 Topics
- .net core81 Topics
- accessibility1 Topic
- community1 Topic