JenyaRostov
JenyaRostov
CC#
Created by ValorZard on 10/18/2024 in #help
How to make bindings for a native library using ClangSharp?
run cmd with admin rights?
50 replies
CC#
Created by hutoanhill on 9/5/2024 in #help
Live Templates: Jetbrains Rider
like when you type somethingSomething. adding templates to use after that "." is not possible for example
17 replies
CC#
Created by hutoanhill on 9/5/2024 in #help
Live Templates: Jetbrains Rider
by that i mean postfix templates after text
17 replies
CC#
Created by hutoanhill on 9/5/2024 in #help
Live Templates: Jetbrains Rider
those are built-in and you can't add those
17 replies
CC#
Created by hutoanhill on 9/5/2024 in #help
Live Templates: Jetbrains Rider
i had the same question before
17 replies
CC#
Created by hutoanhill on 9/5/2024 in #help
Live Templates: Jetbrains Rider
No description
17 replies
CC#
Created by hutoanhill on 9/5/2024 in #help
Live Templates: Jetbrains Rider
you probably would get an answer faster in jetbrains discord
17 replies
CC#
Created by Louken on 6/13/2024 in #help
✅ How to read from glsl (shader) file
right click on file in solution -> copy to output folder always
19 replies
CC#
Created by </> on 12/16/2023 in #help
✅ logo application c#
i presume on the exe file ?
13 replies
CC#
Created by jotalanusse on 11/17/2023 in #help
Processing files as fast as possible
icic
39 replies
CC#
Created by jotalanusse on 11/17/2023 in #help
Processing files as fast as possible
that span can be allocated on the stack with stackalloc if you want to, that's practically free to do with constant size parameter
39 replies
CC#
Created by jotalanusse on 11/17/2023 in #help
Processing files as fast as possible
you can either load the entire file with File.ReadAllBytes and then process it one chunk at a time with Memory<T> or you can use FileStream and read n bytes at a time using Read method with Span<byte> overload
39 replies
CC#
Created by Cheetah on 8/6/2023 in #help
Ok so i DID NOT add hello world to my code but it still appears
doesn't visual studio prompt you to run last successfully compiled code
48 replies
CC#
Created by V E L D on 6/29/2023 in #help
❔ How to make a method returning type T but only taking subclasses of a certain class ?
could go even further and maybe do something like
public T GetAsset<T>(string name) where T : UnityEngine.Object
{
var type = typeof(T);
if(!CachedAssets.ContainsKey(type))
throw(...);
return CachedAssets[type][name];
}
public T GetAsset<T>(string name) where T : UnityEngine.Object
{
var type = typeof(T);
if(!CachedAssets.ContainsKey(type))
throw(...);
return CachedAssets[type][name];
}
where CachedAssets is
Dictionary<Type,Dictionary<string,UnityEngine.Object>>
Dictionary<Type,Dictionary<string,UnityEngine.Object>>
This way if you have a new asset type you want to cache you just add a key-value pair to CachedAssets dictionary
64 replies
CC#
Created by Nutter on 6/20/2023 in #help
.NET maui not allowing me to access parts of class when binding data?
shouldn't ImageArray be public?
2 replies
CC#
Created by JenyaRostov on 6/3/2023 in #help
debug help
no i don't really need pdbs what im saying is that i need to debug updating my library multiple times quickly preferably without bumping the nuget version
17 replies
CC#
Created by JenyaRostov on 6/3/2023 in #help
debug help
yeah, but another question is for example i cloned one of these projects and want to debug it with my library i update the library code and how should i update this project dependency?
17 replies
CC#
Created by JenyaRostov on 6/3/2023 in #help
debug help
all projects depend on the nuget library version
17 replies
CC#
Created by JenyaRostov on 4/19/2023 in #help
❔ Weird SocketAsyncEventArgs server behaviour
figured this out, HttpClient first tries to connect using ipv6 and then succeeds using ipv4
4 replies
CC#
Created by JenyaRostov on 4/19/2023 in #help
❔ Weird SocketAsyncEventArgs server behaviour
I'm also using HttpClient to connect to my server, i can't reproduce it using Postman or firefox for example
4 replies