New Version of DynamicLibrary.cs RRS feed

  • Question

  • Hi...!
    During running a Linq to Entity MVC4 project I get an error : " No applicable method 'StartsWith' exists in type 'Int32' " .It arises from DynamicLibrary.cs code made by Microsoft corp.I guess a new version of DynamicLibrary.cs solves the the problem.

    Thursday, February 28, 2013 9:10 AM


  • Hi,

    StartsWith method should be used with an string parameter, so maybe you could solve your problem with something like this:

    int x = 3;
    string text = "3abcd";
    var startsWith3 = text.StartsWith(x.ToString());


    JA Reyes. 

    Please remember to Vote & "Mark As Answer" if this post is helpful to you.
    Por favor, recuerda Votar y "Marcar como respuesta" si la solución de esta pregunta te ha sido útil.

    Thursday, February 28, 2013 9:29 AM