DotNet

Checking if Object is of Type in C#

To check if an object is of a certain type in c#, simply use the is statement: if (myPerson is Person) { // Variable is of type Person }

2019-02-12T11:20:05-04:00February 12, 2019|

Selecting Data with Entity Framework

Preface Please see Entity Framework Select Functions Explained for an overview of each available select method. This post only covers a handful of them. Selecting Single Record by Primary Key [...]

2019-02-11T12:06:44-04:00February 7, 2019|

jQuery – Selector Starts-Ends With

Selector Starts With: $('input[name^=somePrefix]').doSomething(); Selector ENDS with: $('input[name$=someSuffix]').doSomething(); In ASP.Net: This is particularly useful in ASP.Net when you may not want to specify clientidmode static, but still want to use [...]

2019-02-06T23:56:27-04:00August 6, 2018|Tags: , |
Go to Top