CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: argoo

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    2,589

    Re: Why can't I use BinaryWriter?

    BinaryWriter has no constructor that takes 0 parameters. You must provide some parameters that match one of the three overloads.
  2. Replies
    5
    Views
    7,147

    Re: out of memory exception reading large files.

    You already got some tips from arjay. Don't use File.ReadAllBytes() read the file in chunks or line by line instead.
  3. Re: concatenation of string and assigning to a varibale

    Hi,

    You ca use this to get the first value of that string.



    string[] splittedString = yourString.Split(',');
    string firstPart = splittedString[0];
  4. Replies
    2
    Views
    21,023

    Re: Authentication using RestSharp

    I Solved it this way.


    RestClient client = new RestClient("http://www.newsblur.com");

    RestRequest login = new RestRequest("/api/login", Method.POST);
    ...
  5. Replies
    2
    Views
    21,023

    [RESOLVED] Authentication using RestSharp

    Hi,

    I can't figure out how to make a call to a rest api as authenticated user.


    RestClient client = new RestClient("http://www.newsblur.com");
    RestRequest login = new...
  6. Replies
    3
    Views
    1,639

    Re: Try/Catch Statements

    It works just as you designed it.

    This line

    decimal subtotal = Decimal.Parse(txtSubtotal.Text);
    Throws a FormatException if the value is unabled to be parsed. And the code in the catch...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured