Click here to Skip to main content
14,391,174 members
   

C#

 
AnswerRe: How to use recursion to build dynamic menu from database in c# Pin
OriginalGriff20-Nov-19 22:46
mveOriginalGriff20-Nov-19 22:46 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
Mahmoud EL-Shazly20-Nov-19 22:49
MemberMahmoud EL-Shazly20-Nov-19 22:49 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
OriginalGriff20-Nov-19 22:54
mveOriginalGriff20-Nov-19 22:54 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
Mahmoud EL-Shazly20-Nov-19 22:57
MemberMahmoud EL-Shazly20-Nov-19 22:57 
AnswerRe: How to use recursion to build dynamic menu from database in c# Pin
Mycroft Holmes21-Nov-19 13:56
MemberMycroft Holmes21-Nov-19 13:56 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
Mahmoud EL-Shazly21-Nov-19 14:19
MemberMahmoud EL-Shazly21-Nov-19 14:19 
Question.NET Standard 2.1, Xamarin Android/iOS & Emit Pin
Super Lloyd19-Nov-19 14:00
MemberSuper Lloyd19-Nov-19 14:00 
AnswerRe: .NET Standard 2.1, Xamarin Android/iOS & Emit Pin
Super Lloyd20-Nov-19 1:45
MemberSuper Lloyd20-Nov-19 1:45 
I simply added an autodetection method in the static constructor
static EmitHelper()
{
    try
    {
        var dynam = new DynamicMethod(string.Empty, typeof(int), new Type[] { typeof(int) }, Module, true);
        ILGenerator il = dynam.GetILGenerator();
        il.Emit(OpCodes.Ldarg_0);
        il.Emit(OpCodes.Ldarg_0);
        il.Emit(OpCodes.Mul);
        il.Emit(OpCodes.Ret);
        var sq = (Func<int, int>)dynam.CreateDelegate(typeof(Func<int, int>));
        if (sq(2) == 4)
        {
            SupportsEmit = true;
        }
    }
    catch { }
}
public static bool SupportsEmit { get; private set; }

Will test it tomorrow an Android! Smile | :)
Got my hands full enough tonight with netcoreapp3.0 port! Big Grin | :-D
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

QuestionNew Object Pool Library Pin
Justin-A-Miller19-Nov-19 9:59
MemberJustin-A-Miller19-Nov-19 9:59 
AnswerRe: New Object Pool Library Pin
OriginalGriff19-Nov-19 10:12
mveOriginalGriff19-Nov-19 10:12 
GeneralRe: New Object Pool Library Pin
Justin-A-Miller19-Nov-19 10:22
MemberJustin-A-Miller19-Nov-19 10:22 
GeneralRe: New Object Pool Library Pin
OriginalGriff19-Nov-19 10:51
mveOriginalGriff19-Nov-19 10:51 
GeneralRe: New Object Pool Library Pin
Justin-A-Miller20-Nov-19 4:48
MemberJustin-A-Miller20-Nov-19 4:48 
QuestionHow to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 2:36
MemberMember 1094325619-Nov-19 2:36 
AnswerRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 2:50
mveRichard MacCutchan19-Nov-19 2:50 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 2:59
MemberMember 1094325619-Nov-19 2:59 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 3:19
mveRichard MacCutchan19-Nov-19 3:19 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 3:27
MemberMember 1094325619-Nov-19 3:27 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 3:32
mveRichard MacCutchan19-Nov-19 3:32 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 4:31
MemberMember 1094325619-Nov-19 4:31 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 4:40
mveRichard MacCutchan19-Nov-19 4:40 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 4:52
MemberMember 1094325619-Nov-19 4:52 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 5:02
mveRichard MacCutchan19-Nov-19 5:02 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 5:08
MemberMember 1094325619-Nov-19 5:08 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 5:13
mveRichard MacCutchan19-Nov-19 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.