C# Interfaces

…} If we try to run this, we will get an error, as the interface itself cannot be instantiated: To use the interface, let’s create a new derived class called…

C# – TypeOf, GetType, Is

…Program { class Vehicle { } class Car : Vehicle { } static void Main(string[] args) { Vehicle v = new Vehicle(); Car c = new Car(); Console.WriteLine(“TypeOf: {0}”, typeof(Vehicle));…

Generics and T in C#

…MyClass<int> i = new MyClass<int>(5); Console.WriteLine(i.Display()); MyClass<string> s = new MyClass<string>(“five”); Console.WriteLine(s.Display()); This produces: As can be seen, the first instance is an integer and the second is a string….

USD – Setting Hosted Control and Panel Size

…control setup: Next, go to the Event that opens the agent script. In our case, we have it running on BrowserDocumentComplete of the Incident hosted control: We will add a…

Dynamics CRM Editable Grids

new editable grid: Click Add a Lookup: Now go back to CRM. You will see Editable Grids have been enabled:   Clicking the arrow opens the record: You can also…

Dynamics 365 Themes

…the color of the nav bar. We can also add a new logo: Publish the new these to see your changes: To change back to an existing theme, select the…

Assign Power BI Licenses

…to find the licenses for Power BI Pro and Power BI Free: Select an option: Go to Subscriptions and you will see Power BI: Select a user and assign license:…