Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7902939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:38:09+00:00 2026-06-03T09:38:09+00:00

this is a strange question. i can load 15 Dll’s from plugins directory. But

  • 0

this is a strange question. i can load 15 Dll’s from plugins directory. But i have basePluginToRunothers.DLL which task execute other 14 dlls. My Starter dll is basePluginToRunothers.DLL. How to run other dlls by using basePluginToRunothers.DLL in AppDomain.CurrentDomain?

enter image description here

How to use abc.dll,xyz.dll, klm.dll by using basePluginToRunothers.DLL which has RUN method?
NOTE: ican load all dlls. other dlls will be execute over basePluginToRunothers’run method.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:38:10+00:00Added an answer on June 3, 2026 at 9:38 am
    public static void ReflectionInvoke()
            {
                int sum = 0;
                int sub = 0;
                int sum1 = 0;
                int sum2 = 0;
                MethodInfo mi = default(MethodInfo);
    
                // Loading the assembly 
                Assembly reflectionAssemby = Assembly.LoadFile(@"C:\RelectionDLL.dll");
                // Get type of class from loaded assembly
                Type reflectionClassType = reflectionAssemby.GetType("ReflectionDLL.ReflectionClass");
                // Create instance of the class
                object objReflection = Activator.CreateInstance(reflectionClassType);
    
                // Playing with property read/write
                PropertyInfo intPropInfo = reflectionClassType.GetProperty("intProperty");
                int i = Convert.ToInt32(intPropInfo.GetValue(objReflection, null));
                // Reading value
                intPropInfo.SetValue(objReflection, 55, null);
                // writing value
                int k = Convert.ToInt32(intPropInfo.GetValue(objReflection, null));
                // Reading value
                // Playing with property read
                PropertyInfo strPropInfo = reflectionClassType.GetProperty("strProperty");
                String str = (String)strPropInfo.GetValue(objReflection, null);
                // Reading value
                // Playing with property write
                PropertyInfo dtPropertyInfo = reflectionClassType.GetProperty("dtProperty");
                dtPropertyInfo.SetValue(objReflection, DateTime.Now, null);
                // writing value
                // Playing with static property read/write
                PropertyInfo staticPropertyInfo = reflectionClassType.GetProperty("staticProperty");
                int i1 = Convert.ToInt32(staticPropertyInfo.GetValue(null, null));
                // Reading value
                staticPropertyInfo.SetValue(null, 111, null);
                // writing value
                int k1 = Convert.ToInt32(staticPropertyInfo.GetValue(null, null));
                // Reading value
                // Invoking instance method
                //
    
    
                Console.WriteLine("IInd Way to call methods");
                reflectionClassType.InvokeMember("pub_Inst_NoReturn_Function", BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.Public, null, objReflection, null);
                reflectionClassType.InvokeMember("pri_Inst_NoReturn_Function", BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.NonPublic, null, objReflection, null);
                sum = Convert.ToInt32(reflectionClassType.InvokeMember("pub_inst_Add_TwoNos", BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.Public, null, objReflection, new object[] { 55, 56 }));
                sub = Convert.ToInt32(reflectionClassType.InvokeMember("pri_inst_Subtract_TwoNos", BindingFlags.InvokeMethod | BindingFlags.Instance | BindingFlags.NonPublic, null, objReflection, new object[] { 55, 56 }));
    
                // Invoking static method
                reflectionClassType.InvokeMember("pub_static_NoReturn_Function", BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.Public, null, null, null);
                reflectionClassType.InvokeMember("pri_static_NoReturn_Function", BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.NonPublic, null, null, null);
                sum1 = Convert.ToInt32(reflectionClassType.InvokeMember("pub_static_Add_TwoNos", BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.Public, null, null, new object[] { 55, 56 }));
                sum2 = Convert.ToInt32(reflectionClassType.InvokeMember("pri_static_Subtract_TwoNos", BindingFlags.InvokeMethod | BindingFlags.Static | BindingFlags.NonPublic, null, null, new object[] { 55, 56 }));
    
                Console.WriteLine();
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

OK, I agree this is a strange question, but bear with me. I have
This might seem like a strange question, but can I actually shut down the
This is a little bit of a strange question, but I have a bunch
I have a potentially strange question about this and jQuery plugins As I understand
This might seam like a strange question but.... public string MyProperty { get {
This is going to seem a very strange question but im just playing about
I'm using Android, and I have a strange question: how can I parse JSON
Strange question, but I won't waste time explaining why I need to do this,
This may sound like a strange question, but hopefully there is an answer out
This might sound kinda strange question but I am puzzled. I was just looking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.