Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: javascript blob

$
0
0
Hi,
user is typing in some data for the script to process.
        using (var engine = new V8ScriptEngine())
        {
            WriteLine("Enter input");
            var input = ReadLine(); 

            foreach (PersonList person in list)
            {
             var output= engine.Evaluate((input) = (person.name));
             WriteLine(output);
             }
input is typing by user some data for the script to process i.e., name="siva"

Thanks!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>