Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to use recursion to build dynamic menu from database in c# Pin
OriginalGriff20-Nov-19 21:46
mveOriginalGriff20-Nov-19 21:46 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
Mahmoud EL-Shazly20-Nov-19 21:49
Mahmoud EL-Shazly20-Nov-19 21:49 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
OriginalGriff20-Nov-19 21:54
mveOriginalGriff20-Nov-19 21:54 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
Mahmoud EL-Shazly20-Nov-19 21:57
Mahmoud EL-Shazly20-Nov-19 21:57 
AnswerRe: How to use recursion to build dynamic menu from database in c# Pin
Mycroft Holmes21-Nov-19 12:56
professionalMycroft Holmes21-Nov-19 12:56 
GeneralRe: How to use recursion to build dynamic menu from database in c# Pin
Mahmoud EL-Shazly21-Nov-19 13:19
Mahmoud EL-Shazly21-Nov-19 13:19 
Question.NET Standard 2.1, Xamarin Android/iOS & Emit Pin
Super Lloyd19-Nov-19 13:00
Super Lloyd19-Nov-19 13:00 
AnswerRe: .NET Standard 2.1, Xamarin Android/iOS & Emit Pin
Super Lloyd20-Nov-19 0:45
Super Lloyd20-Nov-19 0:45 
I simply added an autodetection method in the static constructor
C#
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 8:59
Justin-A-Miller19-Nov-19 8:59 
AnswerRe: New Object Pool Library Pin
OriginalGriff19-Nov-19 9:12
mveOriginalGriff19-Nov-19 9:12 
GeneralRe: New Object Pool Library Pin
Justin-A-Miller19-Nov-19 9:22
Justin-A-Miller19-Nov-19 9:22 
GeneralRe: New Object Pool Library Pin
OriginalGriff19-Nov-19 9:51
mveOriginalGriff19-Nov-19 9:51 
GeneralRe: New Object Pool Library Pin
Justin-A-Miller20-Nov-19 3:48
Justin-A-Miller20-Nov-19 3:48 
QuestionHow to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 1:36
Member 1094325619-Nov-19 1:36 
AnswerRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 1:50
mveRichard MacCutchan19-Nov-19 1:50 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 1:59
Member 1094325619-Nov-19 1:59 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 2:19
mveRichard MacCutchan19-Nov-19 2:19 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 2:27
Member 1094325619-Nov-19 2:27 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 2:32
mveRichard MacCutchan19-Nov-19 2:32 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 3:31
Member 1094325619-Nov-19 3:31 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 3:40
mveRichard MacCutchan19-Nov-19 3:40 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 3:52
Member 1094325619-Nov-19 3:52 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 4:02
mveRichard MacCutchan19-Nov-19 4:02 
GeneralRe: How to scan all pages with one click as below: Pin
Member 1094325619-Nov-19 4:08
Member 1094325619-Nov-19 4:08 
GeneralRe: How to scan all pages with one click as below: Pin
Richard MacCutchan19-Nov-19 4:13
mveRichard MacCutchan19-Nov-19 4: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.